My function require so much gas #111
-
EnvironmentTestnet Provide a brief description of the functionality you're trying to implement.I have a proxy nft marketplace contract. Its works perfectly on evm chains. I successfully deployed to zk sync testnet but my contract function requires so much gas. It requires so little on evm chain. What can cause this? What is the specific issue or error you're encountering?Can you share the error messages or logs you're receiving, if any?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?I though try to give manual gasLimit but its not recommended Repo Link (Optional)No response Additional DetailsNo response |
Beta Was this translation helpful? Give feedback.
Answered by
mm-zk
Sep 7, 2023
Replies: 6 comments 14 replies
-
Can you please share the contract address and code? |
Beta Was this translation helpful? Give feedback.
14 replies
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@FurkanSezal - we discovered an issue with one of our APIs (eth_feeHistory) - that might have caused some wallets to set too high gas PRICE when estimating the cost of the transaction.
We've just rolled out the fix to both testnet and mainnet. Can you see if your issue still persists?
(and can you check what was the gas limit and gas price for that 1ETH transaction?)