Skip to content

Commit a26fe61

Browse files
committed
chore: vea contracts version upgrade
1 parent 3f7de4f commit a26fe61

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

contracts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
},
116116
"dependencies": {
117117
"@chainlink/contracts": "^1.3.0",
118-
"@kleros/vea-contracts": "^0.4.0",
118+
"@kleros/vea-contracts": "^0.6.0",
119119
"@openzeppelin/contracts": "^5.2.0",
120120
"viem": "^2.21.48"
121121
}

contracts/src/gateway/interfaces/IForeignGateway.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pragma solidity 0.8.24;
44

55
import "../../arbitration/interfaces/IArbitratorV2.sol";
6-
import "@kleros/vea-contracts/interfaces/gateways/IReceiverGateway.sol";
6+
import "@kleros/vea-contracts/src/interfaces/gateways/IReceiverGateway.sol";
77

88
interface IForeignGateway is IArbitratorV2, IReceiverGateway {
99
/// @dev To be emitted when a dispute is sent to the IHomeGateway.

contracts/src/gateway/interfaces/IHomeGateway.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
pragma solidity 0.8.24;
44

55
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
6-
import "@kleros/vea-contracts/interfaces/gateways/ISenderGateway.sol";
6+
import "@kleros/vea-contracts/src/interfaces/gateways/ISenderGateway.sol";
77
import "../../arbitration/interfaces/IArbitrableV2.sol";
88

99
interface IHomeGateway is IArbitrableV2, ISenderGateway {

contracts/src/gateway/mock/VeaMock.sol

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
pragma solidity 0.8.24;
44

5-
import "@kleros/vea-contracts/interfaces/inboxes/IVeaInbox.sol";
6-
import "@kleros/vea-contracts/interfaces/outboxes/IVeaOutboxOnL1.sol";
5+
import "@kleros/vea-contracts/src/interfaces/inboxes/IVeaInbox.sol";
6+
import "@kleros/vea-contracts/src/interfaces/outboxes/IVeaOutboxOnL1.sol";
77

88
contract VeaMock is IVeaOutboxOnL1, IVeaInbox {
99
/* solhint-disable */
@@ -20,10 +20,10 @@ contract VeaMock is IVeaOutboxOnL1, IVeaInbox {
2020
/// @return msgId The index of the message in the inbox, as a message Id, needed to relay the message.
2121
function sendMessage(address _to, bytes4 _fnSelector, bytes memory _data) external returns (uint64 msgId) {
2222
bytes memory data = abi.encodePacked( // abi.encodeWithSelector(fnSelector, msg.sender, data)
23-
_fnSelector,
24-
bytes32(uint256(uint160(msg.sender))), // big endian padded encoding of msg.sender, simulating abi.encodeWithSelector
25-
_data
26-
);
23+
_fnSelector,
24+
bytes32(uint256(uint160(msg.sender))), // big endian padded encoding of msg.sender, simulating abi.encodeWithSelector
25+
_data
26+
);
2727

2828
(bool success, bytes memory res) = _to.call(data);
2929
require(success, "Call failure");

yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -5469,7 +5469,7 @@ __metadata:
54695469
"@kleros/kleros-v2-eslint-config": "workspace:^"
54705470
"@kleros/kleros-v2-prettier-config": "workspace:^"
54715471
"@kleros/kleros-v2-tsconfig": "workspace:^"
5472-
"@kleros/vea-contracts": "npm:^0.4.0"
5472+
"@kleros/vea-contracts": "npm:^0.6.0"
54735473
"@logtail/pino": "npm:^0.5.0"
54745474
"@nomicfoundation/hardhat-chai-matchers": "npm:^2.0.8"
54755475
"@nomicfoundation/hardhat-ethers": "npm:^3.0.8"
@@ -5734,10 +5734,10 @@ __metadata:
57345734
languageName: node
57355735
linkType: hard
57365736

5737-
"@kleros/vea-contracts@npm:^0.4.0":
5738-
version: 0.4.0
5739-
resolution: "@kleros/vea-contracts@npm:0.4.0"
5740-
checksum: 10/6e60eddf4f0bc9e687ddb83d634d800c75dc6bdd41be9f8904876f977dce2f661e183c4b3fc19d773d61b4b1d94fd4639c63d355d30e91f16f42d931a46dcbd5
5737+
"@kleros/vea-contracts@npm:^0.6.0":
5738+
version: 0.6.0
5739+
resolution: "@kleros/vea-contracts@npm:0.6.0"
5740+
checksum: 10/1dafd94620d3392c2e00e09e7d1ca923007143f8625b4b584411a7b49404ae5630e870d3e260685964d37ccb9c4c4ab406523b8ec4dd9f89bcf6099a4f5976ec
57415741
languageName: node
57425742
linkType: hard
57435743

0 commit comments

Comments
 (0)