-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap testing environment and port over Olympus token tests #4
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening this! We're finally getting around to reviewing community PRs on this repo, would you mind rebasing this PR with the latest changes on |
_trustedForwarder = newForwarder; | ||
} | ||
|
||
// Can't do this https://ethereum.stackexchange.com/a/79604 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README file has been updated to document the workaround that was used to get this contract originally deployed.
https://github.com/KlimaDAO/klimadao-solidity#build
We either keep the workaround documented, or remove the workaround and this function.
KlimaToken__factory as OlympusERC20Token__factory, | ||
// OlympusAuthority__factory | ||
KlimaToken, | ||
KlimaToken__factory, | ||
} from '../../types'; | ||
|
||
describe("OlympusTest", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover "Olympus"
chai_1.default.use(chai_as_promised_1.default); | ||
var expect = chai_1.default.expect; | ||
var types_1 = require("../../types"); | ||
describe("OlympusTest", function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few more minor "Olympus" references, as well as the Ohm file name.
I ported over the token tests from Olympus at commit d02a634c487ed and migrated
hardhat.config.js
to TypeScript in order to execute tests. This should serve as a decent template going forward.Tests can be run with
This is my first PR so any feedback would be helpful and appreciated.