Skip to content
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

estimate gas failing without error on registerToken #159

Open
johannbarbie opened this issue Mar 22, 2019 · 0 comments
Open

estimate gas failing without error on registerToken #159

johannbarbie opened this issue Mar 22, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@johannbarbie
Copy link
Member

await exitHandlerProxy.applyProposal(data, { from: admin, gas: estimate });
log('registered token: ', nativeToken.address);
const tokenAddress = await vault.getTokenAddr(0);
console.log('read Token: ', tokenAddress);

gives:

registered token:  0x33f8feE54f2874f1793280BBBd81E29A5b4303Fa
read Token:  0x0000000000000000000000000000000000000000

while:

await exitHandlerProxy.applyProposal(data, { from: admin, gas: estimate * 2 });
log('registered token: ', nativeToken.address);
const tokenAddress = await vault.getTokenAddr(0);
console.log('read Token: ', tokenAddress);

gives:

registered token:  0x33f8feE54f2874f1793280BBBd81E29A5b4303Fa
read Token:  0x33f8feE54f2874f1793280BBBd81E29A5b4303Fa
@johannbarbie johannbarbie added the bug Something isn't working label Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant