Skip to content
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

contracts: fix 'r' bonding curve parameter to match specification #241

Merged
merged 15 commits into from Aug 28, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Increase the magnitude so that tokens burned will be greater than the…

… full amount.
  • Loading branch information
Freydal committed Aug 28, 2019
commit 9a2e13a4235fb1e69b2ad945c7d0c116db79aa23
@@ -1484,7 +1484,7 @@ describe("ValidatorRegistry", async () => {
});

it("should burn up to all the staked balance", async () => {
const burn = new BigNumber(TestValues.oneEther).times(new BigNumber("-1"));
const burn = new BigNumber(TestValues.oneEther).times(new BigNumber("-5"));
const tokenBurnAmount = await kosuToken.estimateEtherToToken.callAsync(burn.multipliedBy("-1"));
await kosuToken.approve.awaitTransactionSuccessAsync(
treasury.address,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.