@@ -21,9 +21,9 @@ import (
2121 "github.com/ava-labs/avalanchego/utils/logging"
2222 avalancheWarp "github.com/ava-labs/avalanchego/vms/platformvm/warp"
2323 "github.com/ava-labs/avalanchego/vms/platformvm/warp/payload"
24+ teleportermessengerv2 "github.com/ava-labs/icm-services/abi-bindings/go/TeleporterMessengerV2"
2425 mockoraclereceiver "github.com/ava-labs/icm-services/abi-bindings/go/mocks/MockOracleReceiver"
2526 oracleadapter "github.com/ava-labs/icm-services/abi-bindings/go/teleporterV2/OracleAdapter"
26- teleportermessengerv2 "github.com/ava-labs/icm-services/abi-bindings/go/TeleporterMessengerV2"
2727 "github.com/ava-labs/icm-services/icm-contracts/tests/network"
2828 testinfo "github.com/ava-labs/icm-services/icm-contracts/tests/test-info"
2929 "github.com/ava-labs/icm-services/icm-contracts/tests/utils"
@@ -38,7 +38,6 @@ import (
3838 "go.uber.org/zap"
3939)
4040
41-
4241// oracleMsgABI encodes the oracle message payload that OracleVerifier expects.
4342// Layout mirrors OracleMessage in network/p2p/oracle/message.go on the
4443// boraplusplus/sidecar-verifier branch.
@@ -298,14 +297,14 @@ func OracleAttestation(
298297
299298 gasFeeCap , gasTipCap , txNonce := utils .CalculateTxParams (ctx , l1Info .EthClient , fundedAddress )
300299 deliveryTx := types .NewTx (& types.DynamicFeeTx {
301- ChainID : l1Info .EVMChainID ,
302- Nonce : txNonce ,
303- To : & teleporterAddress ,
304- Gas : 2_000_000 , // requiredGasLimit(500K) + TeleporterV2/OracleAdapter overhead
305- GasFeeCap : gasFeeCap ,
306- GasTipCap : gasTipCap ,
307- Value : common .Big0 ,
308- Data : callData ,
300+ ChainID : l1Info .EVMChainID ,
301+ Nonce : txNonce ,
302+ To : & teleporterAddress ,
303+ Gas : 2_000_000 , // requiredGasLimit(500K) + TeleporterV2/OracleAdapter overhead
304+ GasFeeCap : gasFeeCap ,
305+ GasTipCap : gasTipCap ,
306+ Value : common .Big0 ,
307+ Data : callData ,
309308 AccessList : icmutils .SignedWarpMessageToAccessList (signedMsg ),
310309 })
311310 deliveryTx = utils .SignTransaction (deliveryTx , fundedKey , l1Info .EVMChainID )
0 commit comments