Bump version to 5.0.0 (#422)
This commit is contained in:
parent
45993e8a1b
commit
f74821afba
|
@ -5,6 +5,7 @@ deploy/node_modules
|
|||
.dockerignore
|
||||
deploy/.env
|
||||
deploy/*.config
|
||||
deploy/*.env
|
||||
docker-compose.yml
|
||||
Dockerfile
|
||||
*.log
|
||||
|
|
|
@ -9,3 +9,4 @@ coverage
|
|||
upgrade/.env*
|
||||
deploy/.env
|
||||
deploy/*.config
|
||||
deploy/*.env
|
||||
|
|
|
@ -2,7 +2,7 @@ pragma solidity 0.4.24;
|
|||
|
||||
contract VersionableBridge {
|
||||
function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
|
||||
return (4, 1, 0);
|
||||
return (5, 0, 0);
|
||||
}
|
||||
|
||||
/* solcov ignore next */
|
||||
|
|
|
@ -3,14 +3,20 @@ pragma solidity 0.4.24;
|
|||
import "../VersionableBridge.sol";
|
||||
|
||||
contract VersionableAMB is VersionableBridge {
|
||||
// message format version as a single 4-bytes number padded to 32-bytes value, included into every outgoing relay request
|
||||
bytes32 internal constant MESSAGE_PACKING_VERSION = 0x00040000 << 224;
|
||||
// message format version as a single 4-bytes number padded to 32-bytes
|
||||
// value, included into every outgoing relay request
|
||||
//
|
||||
// the message version should be updated every time when
|
||||
// - new field appears
|
||||
// - some field removed
|
||||
// - fields order is changed
|
||||
bytes32 internal constant MESSAGE_PACKING_VERSION = 0x00050000 << 224;
|
||||
|
||||
/**
|
||||
* Returns currently used bridge version
|
||||
* @return (major, minor, patch) version triple
|
||||
*/
|
||||
function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch) {
|
||||
return (4, 0, 0);
|
||||
return (5, 0, 0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "token-bridge-contracts",
|
||||
"version": "5.0.0-rc0",
|
||||
"version": "5.0.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "token-bridge-contracts",
|
||||
"version": "5.0.0-rc0",
|
||||
"version": "5.0.0",
|
||||
"description": "Bridge",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue