-
Notifications
You must be signed in to change notification settings - Fork 7
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
Smr 1814 Part 2 imx withdraw on L1 #22
Conversation
bytes32 commandId = bytes32("testCommandId"); | ||
string memory sourceAddress = rootBridge.childBridgeAdaptor(); | ||
|
||
uint256 thisPreBal = imxToken.balanceOf(receiver); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: thisPreBal
is a bit misleading on this test, since it is the receiver
's balance not this
contract's balance like the previous test
|
||
axelarAdaptor.execute(commandId, CHILD_CHAIN_NAME, sourceAddress, data); | ||
|
||
uint256 thisPostBal = imxToken.balanceOf(receiver); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: thisPostBal
is a bit misleading on this test, since it is the receiver
's balance not this
contract's balance like the previous test
// Give bridge some IMX tokens | ||
imxToken.transfer(address(rootBridge), 100 ether); | ||
|
||
uint256 thisPreBal = imxToken.balanceOf(address(receiver)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: same comment as above on thisPreBal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, updated.
Blocked by #18 and #21