Skip to content

Commit

Permalink
Remove references to nonce (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
k1rill-fedoseev committed Jun 15, 2020
1 parent 3aa50e4 commit df69383
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion contracts/upgradeable_contracts/BasicAMBMediator.sol
Expand Up @@ -13,7 +13,6 @@ contract BasicAMBMediator is Ownable {
bytes32 internal constant BRIDGE_CONTRACT = 0x811bbb11e8899da471f0e69a3ed55090fc90215227fc5fb1cb0d6e962ea7b74f; // keccak256(abi.encodePacked("bridgeContract"))
bytes32 internal constant MEDIATOR_CONTRACT = 0x98aa806e31e94a687a31c65769cb99670064dd7f5a87526da075c5fb4eab9880; // keccak256(abi.encodePacked("mediatorContract"))
bytes32 internal constant REQUEST_GAS_LIMIT = 0x2dfd6c9f781bb6bbb5369c114e949b69ebb440ef3d4dd6b2836225eb1dc3a2be; // keccak256(abi.encodePacked("requestGasLimit"))
bytes32 internal constant NONCE = 0x7ab1577440dd7bedf920cb6de2f9fc6bf7ba98c78c85a3fa1f8311aac95e1759; // keccak256(abi.encodePacked("nonce"))

/**
* @dev Sets the AMB bridge contract address. Only the owner can call this method.
Expand Down
2 changes: 0 additions & 2 deletions contracts/upgradeable_contracts/TokenBridgeMediator.sol
Expand Up @@ -86,8 +86,6 @@ contract TokenBridgeMediator is BasicAMBMediator, BasicTokenBridge {
/**
* @dev Handles the bridged tokens. Checks that the value is inside the execution limits and invokes the method
* to execute the Mint or Unlock accordingly.
* nonce parameter is a unique message identifier on AMB bridge, it is not actually used by this method,
* it serves as unique reference.
* @param _recipient address that will receive the tokens
* @param _value amount of tokens to be received
*/
Expand Down

0 comments on commit df69383

Please sign in to comment.