Skip to content

Commit

Permalink
fix: new sr abi
Browse files Browse the repository at this point in the history
  • Loading branch information
avsetsin committed Oct 13, 2024
1 parent 62fede3 commit 966824d
Show file tree
Hide file tree
Showing 4 changed files with 2,530 additions and 4 deletions.
2,528 changes: 2,527 additions & 1 deletion interfaces/StakingRouter.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/scenario/test_dvt_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def simple_dvt(
)

staking_router.addStakingModule(
"Simple DVT", simple_dvt_contract, 10_000, 500, 500, {"from": agent}
"Simple DVT", simple_dvt_contract, 10_000, 10_000, 500, 500, 150, 25, {"from": agent}
)

acl.createPermission(
Expand Down
2 changes: 1 addition & 1 deletion tests/scenario/test_dvt_scenario_collisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def simple_dvt(

staking_router.grantRole(web3.keccak(text="STAKING_MODULE_MANAGE_ROLE").hex(), agent, {"from": agent})

staking_router.addStakingModule("Simple DVT", simple_dvt_contract, 10_000, 500, 500, {"from": agent})
staking_router.addStakingModule("Simple DVT", simple_dvt_contract, 10_000, 10_000, 500, 500, 150, 25, {"from": agent})

acl.createPermission(
agent,
Expand Down
2 changes: 1 addition & 1 deletion tests/scenario/test_dvt_signing_keys_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def simple_dvt(

staking_router.grantRole(web3.keccak(text="STAKING_MODULE_MANAGE_ROLE").hex(), agent, {"from": agent})

staking_router.addStakingModule("Simple DVT", simple_dvt_contract, 10_000, 500, 500, {"from": agent})
staking_router.addStakingModule("Simple DVT", simple_dvt_contract, 10_000, 10_000, 500, 500, 150, 25, {"from": agent})

acl.createPermission(
agent,
Expand Down

0 comments on commit 966824d

Please sign in to comment.