You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the reasoning of using payload in depositAndCall was to differentiate from message in withdrawAndCall to highlight the difference that withdrawAndCall enable a arbitrary smart contract call while for the payload we call onCrossChainCall
And we inadvertently used message in onCrossChainCall
I think it makes sense to continue on this choice and call it payload in onCrossChainCall
protocol-contracts/contracts/prototypes/evm/GatewayEVM.sol
Line 104 in a92fb24
We have "payload" in the
depositAndCall
and "message" in theonCrossChainCall
. For consistency, we should use the same name.The text was updated successfully, but these errors were encountered: