You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a brief description of the functionality you're trying to implement.
I have transaction data which was populated from placeOrder method within BookMaker contract like this: { data: '0x...', to: '0xF4004BcC807aAB11ebB2CC4305ca05C92D1f7801', value: BigNumber { _hex: '0x00', _isBigNumber: true }, from: '0x6A48a6c0511E6298F331E131Eb77de70F0434E1c', chainId: 280, nonce: 0, type: 113, customData: { gasPerPubdata: 50000, paymasterParams: { paymaster: '0x825DB2C70Ff6d7a94C841a842D15Be0e805a9A23', paymasterInput: '0x949431dc000000000000000000000000a4d8fecef6c4f77bde74edbc7931de2e47828b3f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000' } }, gasPrice: BigNumber { _hex: '0x0ee6b280', _isBigNumber: true } }
And i got execption: reason="execution reverted".
With a regular smart contract's method. Smart account works perfectly. But in case upgradeable smart contract's method, it's failed
What is the specific issue or error you're encountering?
reason="execution reverted", method="estimateGas"
Can you share the error messages or logs you're receiving, if any?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Environment
Testnet
Provide a brief description of the functionality you're trying to implement.
I have transaction data which was populated from placeOrder method within BookMaker contract like this:
{ data: '0x...', to: '0xF4004BcC807aAB11ebB2CC4305ca05C92D1f7801', value: BigNumber { _hex: '0x00', _isBigNumber: true }, from: '0x6A48a6c0511E6298F331E131Eb77de70F0434E1c', chainId: 280, nonce: 0, type: 113, customData: { gasPerPubdata: 50000, paymasterParams: { paymaster: '0x825DB2C70Ff6d7a94C841a842D15Be0e805a9A23', paymasterInput: '0x949431dc000000000000000000000000a4d8fecef6c4f77bde74edbc7931de2e47828b3f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000' } }, gasPrice: BigNumber { _hex: '0x0ee6b280', _isBigNumber: true } }
And i got execption: reason="execution reverted".
With a regular smart contract's method. Smart account works perfectly. But in case upgradeable smart contract's method, it's failed
What is the specific issue or error you're encountering?
reason="execution reverted", method="estimateGas"
Can you share the error messages or logs you're receiving, if any?
reason="execution reverted", method="estimateGas", transaction={"from":"0x6A48a6c0511E6298F331E131Eb77de70F0434E1c","gasPrice":{"type":"BigNumber","hex":"0x0ee6b280"},"to":"0xF4004BcC807aAB11ebB2CC4305ca05C92D1f7801","value":{"type":"BigNumber","hex":"0x00"},"data":"0x56b3b5200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000989680000000000000000000000000000000000000000000000000000000006523e13b000000000000000000000000000000000000000000000000000000006523e159000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000067e697000000284f0da458000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000009896800000000000000000000000000000000000000000000000000000000000000001bb11ee31742037c28668fb1c666e01e3f86d23f31a1ae833b60521d9859a4a51000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000023bec070000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004192330bb4ec3f51dd4d5d2e7c4b885ef023c070bc15dcd110b6ed8f6c92babe2f79a4a49b35cedb2bf3069add34b880d892b431d435338ebed87f5fa5b8094c741b00000000000000000000000000000000000000000000000000000000000000","type":113,"accessList":null,"customData":{"gasPerPubdata":50000,"paymasterParams":{"paymaster":"0x825DB2C70Ff6d7a94C841a842D15Be0e805a9A23","paymasterInput":"0x949431dc000000000000000000000000a4d8fecef6c4f77bde74edbc7931de2e47828b3f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000"}}}, error={"reason":"processing response error","code":"SERVER_ERROR","body":"{"jsonrpc":"2.0","error":{"code":3,"message":"execution reverted","data":"0x"},"id":57}","error":{"code":3,"data":"0x"},"requestBody":"{"method":"eth_estimateGas","params":[{"gasPrice":"0xee6b280","type":"0x71","value":"0x0","from":"0x6a48a6c0511e6298f331e131eb77de70f0434e1c","to":"0xf4004bcc807aab11ebb2cc4305ca05c92d1f7801","data":"0x56b3b5200000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000032000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000000000989680000000000000000000000000000000000000000000000000000000006523e13b000000000000000000000000000000000000000000000000000000006523e159000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000067e697000000284f0da458000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000009896800000000000000000000000000000000000000000000000000000000000000001bb11ee31742037c28668fb1c666e01e3f86d23f31a1ae833b60521d9859a4a51000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000023bec070000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004192330bb4ec3f51dd4d5d2e7c4b885ef023c070bc15dcd110b6ed8f6c92babe2f79a4a49b35cedb2bf3069add34b880d892b431d435338ebed87f5fa5b8094c741b00000000000000000000000000000000000000000000000000000000000000","eip712Meta":{"gasPerPubdata":"0xc350","paymasterParams":{"paymaster":"0x825db2c70ff6d7a94c841a842d15be0e805a9a23","paymasterInput":[148,148,49,220,0,0,0,0,0,0,0,0,0,0,0,0,164,216,254,206,246,196,247,123,222,116,237,188,121,49,222,46,71,130,139,63,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}}}],"id":57,"jsonrpc":"2.0"}","requestMethod":"POST","url":"https://testnet.era.zksync.dev/"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.1
Have you made any recent changes to the contract before encountering this issue?
No
Are there any external libraries or contracts that your contract interacts with?
No
Can you provide the relevant portions of your contract code where the issue is occurring?
No
Have you tried to isolate the problem, and if so, what were the results?
No
What steps have you already taken to try to resolve the issue?
No
Repo Link (Optional)
No response
Additional Details
No response
Beta Was this translation helpful? Give feedback.
All reactions