2031afdbe8
Change proposal: now creating with predeployed staking proxy and relayer registry implementation
Theo2023-05-28 11:14:51 +03:00
195840d678
Move proprietary information to source folder
Theo2023-05-28 11:09:35 +03:00
77b361d8a5
Cleanup after merge
Theo2023-05-27 18:56:29 +03:00
9525b3dae4
Merge pull request 'main' (#1) from AlienTornadosaurusHex/proposal-22-governance-and-rewards-patch:main into main
Theo2023-05-27 17:43:26 +02:00
ff9f10c5b3
Get actual account nonce while signing messages to ERC20Permit
Theo2023-05-27 17:17:58 +03:00
ccd71034ea
While getting relayers balances sum, set fork block number to block before hacker widthrawals from Governance Vault
Theo2023-05-27 17:17:11 +03:00
0e00f9287a
Remove useless modifier, because now we replenish Governance Staking contract balance in proposal itself
Theo2023-05-27 16:39:09 +03:00
662b608a26
Replenish Governance Staking balance from Governance in proposal execution
Theo2023-05-27 16:26:48 +03:00
bc6cf57d60
Added a test to get sum of relayer balances (that is, amount of TORN tokens that should be in the Governance Staking contract)
Theo2023-05-27 14:35:34 +03:00
fd4a7e261c
Added tests that check the correctness of accrual of rewards after redeploy Staking contract
Theo2023-05-27 14:32:56 +03:00
9995638a1c
Added tests to verify that updated contracts have the correct internal state
Theo2023-05-27 14:31:22 +03:00
23b15c03f1
Added tests to ensure that all contracts are updated correctly
Theo2023-05-27 14:30:29 +03:00
f33a61c906
Prepare util functions and contracts to test proposal
Theo2023-05-27 14:27:19 +03:00
af38a8dcc9
Redeploy staking as proxy & format all with new foundry settings
Theo2023-05-26 15:01:45 +03:00
dc1bf7e2a7
Fix parameter - rename '--block-number' to '--fork-block-number' to test running on specified block
Theo2023-05-26 14:38:24 +03:00