Add ARBITRARY_MESSAGE bridge mode
This commit is contained in:
parent
70d03c1a93
commit
478b30b2ed
@ -2,7 +2,8 @@ const BRIDGE_MODES = {
|
||||
NATIVE_TO_ERC: 'NATIVE_TO_ERC',
|
||||
ERC_TO_ERC: 'ERC_TO_ERC',
|
||||
ERC_TO_NATIVE: 'ERC_TO_NATIVE',
|
||||
NATIVE_TO_ERC_V1: 'NATIVE_TO_ERC_V1'
|
||||
NATIVE_TO_ERC_V1: 'NATIVE_TO_ERC_V1',
|
||||
ARBITRARY_MESSAGE: 'ARBITRARY_MESSAGE'
|
||||
}
|
||||
|
||||
const ERC_TYPES = {
|
||||
|
@ -37,7 +37,7 @@ switch (process.env.BRIDGE_MODE) {
|
||||
foreignAbi = FOREIGN_ERC_TO_NATIVE_ABI
|
||||
id = 'erc-native'
|
||||
break
|
||||
case 'ARBITRARY_MESSAGE':
|
||||
case BRIDGE_MODES.ARBITRARY_MESSAGE:
|
||||
homeAbi = HOME_AMB_ABI
|
||||
foreignAbi = FOREIGN_AMB_ABI
|
||||
id = 'amb'
|
||||
|
Loading…
Reference in New Issue
Block a user