Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const priceIdentifier = padRight(utf8ToHex("TEST_IDENTIFIER"), 64);
const ancillaryData = utf8ToHex("some-address-field:0x1234");
const defaultTimestamp = 100;

// Helper methods that we will use to call cross-domain permissioned methods on the Messenger. These are neccesary
// Helper methods that we will use to call cross-domain permissioned methods on the Messenger. These are necessary
// because addresses are aliased in any contract that extends AVM_CrossDomainEnabled
function applyL1ToL2Alias(l1Address) {
const offset = toBN("0x1111000000000000000000000000000000001111");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3585,7 +3585,7 @@ describe("VotingV2", function () {
assert.equal((await voting.methods.voterStakes(account1).call()).stake, toWei("32000000").add(toWei("108800")));
assert.equal((await voting.methods.voterStakes(account1).call()).unappliedSlash, toWei("108625.92"));

// Now, update to request 3 (the final request. we should see 2x the unapplied slasing now applied to the ballance.
// Now, update to request 3 (the final request. we should see 2x the unapplied slasing now applied to the balance.
await voting.methods.updateTrackersRange(account1, 1).send({ from: account1 });
assert.equal((await voting.methods.voterStakes(account1).call()).nextIndexToProcess, 3);
let expectedStake = toWei("32000000").add(toWei("108800")).add(toWei("108625.92")).add(toWei("108625.92"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ describe("ReserveTokenLiquidator", function () {
const convertCollateral = Convert(9);
const convertSynthetic = Convert(9);

// create a new router and pair to re-initalize from fresh.
// create a new router and pair to re-initialize from fresh.
factory = (await createContractObjectFromJson(UniswapV2Factory, web3).new(deployer, { from: deployer })).contract;
router = (
await createContractObjectFromJson(UniswapV2Router02, web3).new(
Expand Down