aboutsummaryrefslogtreecommitdiff
path: root/src/transaction.rs
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2022-02-26 20:57:37 +0100
committerNicholas Rodrigues Lordello <[email protected]>2022-02-26 20:57:37 +0100
commit2af023138b4182c60563903a542cca39c6ecf28c (patch)
treec31ba906e4ab47b0eda611794ef5b1cb12f6f8a4 /src/transaction.rs
parentbcdb96ba0bdba139670c74b0e5eb0964f9a1c72a (diff)
Fix name of transaction gas paramter
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",