File tree 5 files changed +14
-14
lines changed
5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 115
115
},
116
116
"dependencies" : {
117
117
"@chainlink/contracts" : " ^1.3.0" ,
118
- "@kleros/vea-contracts" : " ^0.4 .0" ,
118
+ "@kleros/vea-contracts" : " ^0.6 .0" ,
119
119
"@openzeppelin/contracts" : " ^5.2.0" ,
120
120
"viem" : " ^2.21.48"
121
121
}
Original file line number Diff line number Diff line change 3
3
pragma solidity 0.8.24 ;
4
4
5
5
import "../../arbitration/interfaces/IArbitratorV2.sol " ;
6
- import "@kleros/vea-contracts/interfaces/gateways/IReceiverGateway.sol " ;
6
+ import "@kleros/vea-contracts/src/ interfaces/gateways/IReceiverGateway.sol " ;
7
7
8
8
interface IForeignGateway is IArbitratorV2 , IReceiverGateway {
9
9
/// @dev To be emitted when a dispute is sent to the IHomeGateway.
Original file line number Diff line number Diff line change 3
3
pragma solidity 0.8.24 ;
4
4
5
5
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 " ;
7
7
import "../../arbitration/interfaces/IArbitrableV2.sol " ;
8
8
9
9
interface IHomeGateway is IArbitrableV2 , ISenderGateway {
Original file line number Diff line number Diff line change 2
2
3
3
pragma solidity 0.8.24 ;
4
4
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 " ;
7
7
8
8
contract VeaMock is IVeaOutboxOnL1 , IVeaInbox {
9
9
/* solhint-disable */
@@ -20,10 +20,10 @@ contract VeaMock is IVeaOutboxOnL1, IVeaInbox {
20
20
/// @return msgId The index of the message in the inbox, as a message Id, needed to relay the message.
21
21
function sendMessage (address _to , bytes4 _fnSelector , bytes memory _data ) external returns (uint64 msgId ) {
22
22
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
+ );
27
27
28
28
(bool success , bytes memory res ) = _to.call (data);
29
29
require (success, "Call failure " );
Original file line number Diff line number Diff line change @@ -5469,7 +5469,7 @@ __metadata:
5469
5469
"@kleros/kleros-v2-eslint-config": "workspace:^"
5470
5470
"@kleros/kleros-v2-prettier-config": "workspace:^"
5471
5471
"@kleros/kleros-v2-tsconfig": "workspace:^"
5472
- "@kleros/vea-contracts": "npm:^0.4 .0"
5472
+ "@kleros/vea-contracts": "npm:^0.6 .0"
5473
5473
"@logtail/pino": "npm:^0.5.0"
5474
5474
"@nomicfoundation/hardhat-chai-matchers": "npm:^2.0.8"
5475
5475
"@nomicfoundation/hardhat-ethers": "npm:^3.0.8"
@@ -5734,10 +5734,10 @@ __metadata:
5734
5734
languageName: node
5735
5735
linkType: hard
5736
5736
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
5741
5741
languageName: node
5742
5742
linkType: hard
5743
5743
You can’t perform that action at this time.
0 commit comments