Skip to content

Commit

Permalink
integration test: change expected result for eth_estimateGas (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 authored Apr 29, 2024
1 parent 953f8fe commit e074d3f
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
5 changes: 4 additions & 1 deletion integration/mainnet/eth_estimateGas/test_01.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"response": {
"id":1,
"jsonrpc":"2.0",
"result":"0x53b8"
"error": {
"code": -32000,
"message": "insufficient funds for gas * price + value: address 0x6e508ed8c6381e19668a17d9e0c2d4d2dd3c39f5 have 0 want 364744357228059396"
}
}
}
]
Expand Down
5 changes: 4 additions & 1 deletion integration/mainnet/eth_estimateGas/test_02.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"response": {
"id":1,
"jsonrpc":"2.0",
"result":"0x53ac"
"error": {
"code": -32000,
"message": "insufficient funds for gas * price + value: address 0x3a9a5def01d7b14c14ef51996bf66f3047f0738f have 0 want 364744357228059396"
}
}
}
]
Expand Down
5 changes: 4 additions & 1 deletion integration/mainnet/eth_estimateGas/test_03.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"response": {
"id":1,
"jsonrpc":"2.0",
"result": "0x52c8"
"error": {
"code": -32000,
"message": "insufficient funds for gas * price + value: address 0x52c24586c31cff0485a6208bb63859290fba5bce have 0 want 364744357228059396"
}
}
}
]
Expand Down
5 changes: 4 additions & 1 deletion integration/mainnet/eth_estimateGas/test_04.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
"response": {
"id":1,
"jsonrpc":"2.0",
"result":"0x52e0"
"error": {
"code": -32000,
"message": "insufficient funds for gas * price + value: address 0xf99b8482198fab848f5196117cc8c5912e74eb99 have 0 want 364744357228059396"
}
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion integration/mainnet/eth_estimateGas/test_05.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"from": "0xa9Ac1233699BDae25abeBae4f9Fb54DbB1b44700",
"to": "0x252568abdeb9de59fd8963dfcd87be2db65f1ce1",
"gas": "0x493E0",
"gasPrice": "0xBA43B7400",
"gasPrice": "0xBA43B7401",
"data": "0x60606040526040516102b43803806102b48339016040526060805160600190602001505b5b33600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055505b806001600050908051906020019082805482825590600052602060002090601f01602090048101928215609e579182015b82811115609d5782518260005055916020019190600101906081565b5b50905060c5919060a9565b8082111560c1576000818150600090555060010160a9565b5090565b50505b506101dc806100d86000396000f30060606040526000357c01000000000000000000000000000000000000000000000000000000009004806341c0e1b514610044578063cfae32171461005157610042565b005b61004f6004506100ca565b005b61005c60045061015e565b60405180806020018281038252838181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156100bc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561015b57600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b5b565b60206040519081016040528060008152602001506001600050805480601f016020809104026020016040519081016040528092919081815260200182805480156101cd57820191906000526020600020905b8154815290600101906020018083116101b057829003601f168201915b505050505090506101d9565b90560000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000c48656c6c6f20576f726c64210000000000000000000000000000000000000000"
}
],
Expand Down
5 changes: 4 additions & 1 deletion integration/mainnet/eth_estimateGas/test_11.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
"response": {
"id":1,
"jsonrpc":"2.0",
"result": "0x5208"
"error": {
"code": -32000,
"message": "insufficient funds for gas * price + value: address 0x3d0768da09ce77d25e2d998e6a7b6ed4b9116c2d have 11012100000000000 want 364744357228059396"
}
}
}
]
Expand Down

0 comments on commit e074d3f

Please sign in to comment.