Skip to content

OA Tx Test#190

Merged
Joeysantoro merged 2 commits intomasterfrom
feat/oaTXTest
Sep 23, 2021
Merged

OA Tx Test#190
Joeysantoro merged 2 commits intomasterfrom
feat/oaTXTest

Conversation

@Joeysantoro
Copy link
Contributor

import { ethers } from "hardhat";
import hre, { ethers } from "hardhat";
import { expect } from "chai";
const { time } = require('../../test/helpers');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use import instead of require

{from: tribalChiefOptimisticMultisigAddress}
);

await time.increase('1000000');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this works? in my dive into the unit tests, I had to convert to a number before passing into time.increase

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah the execution works

});

await tribalChiefOptimisticTimelock.queueTransaction(
'0x956F47F50A910163D8BF957Cf5846D573E7f87CA',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit, but for future should add a comment explaining what this address was (I looked it up on etherscan ofc)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah good call, I didn't use the feiAddress var because I wanted to use the exact calldata used by OA

@Joeysantoro Joeysantoro merged commit 93bc3cd into master Sep 23, 2021
@Joeysantoro Joeysantoro deleted the feat/oaTXTest branch September 23, 2021 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments