Replies: 1 comment 4 replies
-
I looked at the trace of your tx, and it seems it's doing a delegate call to the token implementation and it reverts immediately. Is there a method called Are you using openzeppelin's transparent proxy pattern? You need to use the proxyAdmin for doing any changeAdmin. Any calls from address other than the proxyAdmin are forwarded to the implementation. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I deployed this token on binance smart chain testnet. I'm trying to call changeAdmin function of this contract using etherjs but getting an error.
the command that I execute
yarn hardhat run --network testnet scripts/bypass.js
hardhat.config.js
the script
the error i encountered
reason: 'cannot estimate gas; transaction may fail or may require manual gas limit',
code: 'UNPREDICTABLE_GAS_LIMIT',
Thanks in advance, have a nice day :)
Beta Was this translation helpful? Give feedback.
All reactions