aboutsummaryrefslogtreecommitdiff
path: root/src/transaction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transaction.rs')
-rw-r--r--src/transaction.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transaction.rs b/src/transaction.rs
index cab34bc..cbc0e4f 100644
--- a/src/transaction.rs
+++ b/src/transaction.rs
@@ -87,7 +87,7 @@ mod tests {
sign_encode(json!({
"nonce": 0,
"gasPrice": 0,
- "gasLimit": 21000,
+ "gas": 21000,
"to": "0x0000000000000000000000000000000000000000",
"value": 0,
"data": "0x",
@@ -104,7 +104,7 @@ mod tests {
"chainId": 1,
"nonce": 0,
"gasPrice": 0,
- "gasLimit": 21000,
+ "gas": 21000,
"to": "0x0000000000000000000000000000000000000000",
"value": 0,
"data": "0x",
@@ -121,7 +121,7 @@ mod tests {
"chainId": 1,
"nonce": 0,
"gasPrice": 0,
- "gasLimit": 21000,
+ "gas": 21000,
"to": "0x0000000000000000000000000000000000000000",
"value": 0,
"data": "0x",
@@ -140,7 +140,7 @@ mod tests {
"nonce": 0,
"maxPriorityFeePerGas": 0,
"maxFeePerGas": 0,
- "gasLimit": 21000,
+ "gas": 21000,
"to": "0x0000000000000000000000000000000000000000",
"value": 0,
"data": "0x",