Hi guys! I deploy a contract in polygon network and I have a problem with it, I hope someone can help me with this. This is a ERC1155 and was deployed as a proxy (Transparent Upgradable Proxy), the contract also implement the ERC2771 to process meta transactions. Most of the contracts implemented here are from Open Zeppelin. I'm working with Hardhat (2.12.0) and For testing porposes I'm forking the polygon Mainnet (in testing ALL IS OKAY). My problem is that when I call the function mint this is reverted by the EVM (transaction reverted example: https://polygonscan.com/tx/0x5ab8c4d912790d62cb265ecd284814b504634e1a52fd241c2916449c7e1ee76d), I already review the gas fee and is okay, also I aready grant the address roles in the access controller contract...
Oct 24, 2022, 9:59 AM
Really I dont understand why the call is being reverted, the only message that the transaction sent me is "REVERTED BY EVM", the call fails when is called from OZ Defender (Meta-tx) and also when is called directly, someone knows what is happening or if there are a tool that can help me with this? Thank youuu!!
Oct 24, 2022, 9:59 AM
looks like the issue is here
did you set it correctly?
you are calling a function on the dead address
you are calling a function on the dead address
Oct 24, 2022, 10:37 AM
Yeah man! I forget initialize the another contract... my bad. THANK YOU for your answer. I already find the same using Tenderly, what tool are you using?
Oct 24, 2022, 11:07 AM
tenderly
this ix https://tx.eth.samczsun.com/
Oct 24, 2022, 11:17 AM