-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deploy): Snow deployment can't addLink #827
Comments
@andrii-kl, can you check if the txn gas limit being assigned is below the block gas limit? If you're using default settings, please enforce a manual gas limit below block gas limit of SNOW chain. |
@sdpisreddevil -- is it possible for you to check why addLink() is not working ? |
@bbist @manishbista28 @sdpisreddevil The interesting point that I found that the function addService is working properly, you can add any new services. My ideas: I tried to find the problem with Remix debugger, but app breaks each time when I try to debug addLink transaction. |
Going through the code, and seems like the new Arctic testnet is having problem on the encoding RLP codes. |
specifying "gas" manually on truffle config seems to get the method addLink() working.
Can you guys confirm ? Currently, truffle itself estimates gas necessary for a transaction and sets the gas limit accordingly on a transaction request Specifying the method manually can help but it has its own downsides too.
2.there are constraints such as gas_limit X gas price should be less than 1 ETH on bsc chain. It may or may not be applicable on other chains. This constrains how large a gas limit can be placed for the specified gas price.
|
could complete ICON-BSC-SNOW testnet deployment afterwards. |
By specifying "gas" manually on metamask transaction builder fixed the working of On Arctic as the transaction fee is increased by 2000x we've to check every other user triggered method if the GAS will be enough to implement the method. We can proceed ahead to complete ICON-BSC-ARCTIC deployment and testings. |
@sdpisreddevil |
Overview
Deployment process can't pass.
Steps to Reproduce
Steps to reproduce the behavior:
config.txt
Error
BSC_RPC_URI: https://arctic-rpc.icenetwork.io:9933
Using network 'bsc'.
Add link btp://0x2.icon/cx3a5bcb33421e2c09215091471bc9635f736997fd
ProviderError: exceeds block gas limit
at module.exports (/icon-bridge/devnet/docker/icon-bsc/scripts/bmc.js:16:34)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: -32603,
hijackedStack: 'ProviderError: exceeds block gas limit\n' +
The text was updated successfully, but these errors were encountered: