Skip to content

Commit

Permalink
test: add write attribute to work with new amm-core
Browse files Browse the repository at this point in the history
  • Loading branch information
xenide committed Nov 23, 2024
1 parent 6b58581 commit e844351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/__fixtures/BaseTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ contract BaseTest is Test {
_factory.write("Shared::recoverer", address(this));
_factory.write("Shared::maxChangeRate", Constants.DEFAULT_MAX_CHANGE_RATE);
_factory.write("Shared::oracleCaller", address(_oracle));
_factory.write("Shared::maxChangePerTrade", Constants.DEFAULT_MAX_CHANGE_PER_TRADE);

_pair = ReservoirPair(_createPair(address(_tokenA), address(_tokenB), 0));
_tokenA.mint(address(_pair), 103e6);
Expand Down
1 change: 1 addition & 0 deletions test/unit/ReservoirPriceOracle.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ contract ReservoirPriceOracleTest is BaseTest {
_addressSet.add(address(_oracle));
_addressSet.add(address(_pair));
_addressSet.add(address(this));
_addressSet.add(address(VM_ADDRESS));
}

// solhint-disable-next-line no-empty-blocks
Expand Down

0 comments on commit e844351

Please sign in to comment.