Skip to content

Commit

Permalink
fix: example revert on destination chains
Browse files Browse the repository at this point in the history
  • Loading branch information
BeroBurny committed Mar 5, 2024
1 parent eb65b88 commit b8ff4d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/scripts/deployMultichain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NetworkArguments } from "@chainsafe/hardhat-plugin-multichain-deploy";

async function main(): Promise<void> {
const currentTimestampInSeconds = Math.round(Date.now() / 1000);
const unlockTime = BigInt(currentTimestampInSeconds + 60);
const unlockTime = BigInt(currentTimestampInSeconds + 1200);
const [deployer] = await web3.eth.getAccounts();

const networkArguments: NetworkArguments = {
Expand Down
2 changes: 1 addition & 1 deletion example/scripts/deployMultichainBytecode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import artifact from "../artifacts/contracts/Lock.sol/Lock";

async function main(): Promise<void> {
const currentTimestampInSeconds = Math.round(Date.now() / 1000);
const unlockTime = BigInt(currentTimestampInSeconds + 60);
const unlockTime = BigInt(currentTimestampInSeconds + 1200);
const [deployer] = await web3.eth.getAccounts();

const networkArguments: NetworkArguments = {
Expand Down
2 changes: 1 addition & 1 deletion example/scripts/localhost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { NetworkArguments } from "@chainsafe/hardhat-plugin-multichain-deploy";

async function main(): Promise<void> {
const currentTimestampInSeconds = Math.round(Date.now() / 1000);
const unlockTime = BigInt(currentTimestampInSeconds + 60);
const unlockTime = BigInt(currentTimestampInSeconds + 1200);
const [deployer] = await web3.eth.getAccounts();

const { adapterAddress } = await multichain.initLocalEnvironment();
Expand Down

0 comments on commit b8ff4d0

Please sign in to comment.