Skip to content

Commit

Permalink
feat: set finalised date to exchanges in other states and add e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
albertfolch-redeemeum committed Oct 24, 2023
1 parent 5cb8d96 commit 5b5629a
Show file tree
Hide file tree
Showing 7 changed files with 397 additions and 180 deletions.
12 changes: 10 additions & 2 deletions contracts/accounts.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,12 @@ const ACCOUNT_18 = {
"0x0492e7d36225b5998466345082a7ae3942b189792c5d348cb551ac4d91d67007"
};

const ACCOUNT_19 = {
address: "0xfCd5941c09BD0B5d33ee7296e6f11F28109746d1",
privateKey:
"0x77ee913bd97d7d31dc67188cc329bc604fe8ddf82c32168a2b5c7e37279d0537"
};

const ACCOUNTS = [
ACCOUNT_1,
ACCOUNT_2,
Expand All @@ -123,7 +129,8 @@ const ACCOUNTS = [
ACCOUNT_15,
ACCOUNT_16,
ACCOUNT_17,
ACCOUNT_18
ACCOUNT_18,
ACCOUNT_19
];

module.exports = {
Expand All @@ -145,5 +152,6 @@ module.exports = {
ACCOUNT_15,
ACCOUNT_16,
ACCOUNT_17,
ACCOUNT_18
ACCOUNT_18,
ACCOUNT_19
};
2 changes: 1 addition & 1 deletion contracts/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ subtask(TASK_COMPILE_SOLIDITY_GET_SOURCE_PATHS, async (_, { config }) => {
const accountsFromEnv = process.env.DEPLOYER_PK
? [process.env.DEPLOYER_PK]
: [];

console.log("HARDHAAAAAAT!", ACCOUNTS);
/**
* @type import('hardhat/config').HardhatUserConfig
*/
Expand Down
4 changes: 2 additions & 2 deletions e2e/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
context: ../.
dockerfile: ./e2e/meta-tx-gateway/Dockerfile
user: "node:node"
image: meta-tx-gateway:202309251200
image: meta-tx-gateway:202310231200
ports:
- "8888:8888"
environment:
Expand All @@ -20,7 +20,7 @@ services:

hardhat-node:
build: ../contracts
image: hardhat-node:8319ec72c2335a49b74aeefd232ea9f0a6dfd368_3
image: hardhat-node:8319ec72c2335a49b74aeefd232ea9f0a6dfd368_4
ports:
- "8545:8545"
volumes:
Expand Down
Loading

0 comments on commit 5b5629a

Please sign in to comment.