@@ -31,7 +31,6 @@ contract AxelarHookTest is Test {
31
31
string destionationContract = "neutronContract " ;
32
32
address axelarGateway = address (0 );
33
33
address axelarGasReceiver = address (0 );
34
- bytes gmp_call_code = abi.encodePacked (uint8 (1 ));
35
34
error BadQuote (uint256 balance , uint256 required );
36
35
37
36
function setUp () public {
@@ -42,8 +41,7 @@ contract AxelarHookTest is Test {
42
41
destinationChain,
43
42
destionationContract,
44
43
axelarGateway,
45
- axelarGasReceiver,
46
- gmp_call_code
44
+ axelarGasReceiver
47
45
);
48
46
testMessage = _encodeTestMessage ();
49
47
}
@@ -66,7 +64,7 @@ contract AxelarHookTest is Test {
66
64
vm.expectRevert ("No Axelar Payment Received " );
67
65
uint256 expectedQuote = 0 ;
68
66
bytes memory justRightCustomMetadata = BridgeAggregationHookMetadata
69
- .formatMetadata (expectedQuote, 0 , abi.encodePacked ());
67
+ .formatMetadata (expectedQuote, abi.encodePacked ());
70
68
bytes memory testMetadata = StandardHookMetadata.formatMetadata (
71
69
100 ,
72
70
100 ,
@@ -80,7 +78,7 @@ contract AxelarHookTest is Test {
80
78
function test_quoteDispatch_ReturnsSmallQuote () public {
81
79
uint256 expectedQuote = 1 ;
82
80
bytes memory justRightCustomMetadata = BridgeAggregationHookMetadata
83
- .formatMetadata (expectedQuote, 0 , abi.encodePacked ());
81
+ .formatMetadata (expectedQuote, abi.encodePacked ());
84
82
bytes memory testMetadata = StandardHookMetadata.formatMetadata (
85
83
100 ,
86
84
100 ,
@@ -96,7 +94,7 @@ contract AxelarHookTest is Test {
96
94
// type(uint256).max = 115792089237316195423570985008687907853269984665640564039457584007913129639935. that's a big quote
97
95
uint256 expectedQuote = type (uint256 ).max;
98
96
bytes memory justRightCustomMetadata = BridgeAggregationHookMetadata
99
- .formatMetadata (expectedQuote, 0 , abi.encodePacked ());
97
+ .formatMetadata (expectedQuote, abi.encodePacked ());
100
98
bytes memory testMetadata = StandardHookMetadata.formatMetadata (
101
99
100 ,
102
100
100 ,
0 commit comments