Commit Graph

16 Commits

Author SHA1 Message Date
AlienTornadosaurusHex
7cc789f48f Merge branch 'main' of https://git.tornado.ws/Theo/proposal-22-governance-and-rewards-patch 2023-05-27 15:28:12 +00:00
f3df5c0b14 Add parameter for denominator for uint256 -> TORN 2023-05-27 17:31:54 +03:00
fd57f13e63 Remove nonce log 2023-05-27 17:29:32 +03:00
ff9f10c5b3 Get actual account nonce while signing messages to ERC20Permit 2023-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 2023-05-27 17:17:11 +03:00
42facc194d Change parameters 2023-05-27 17:13:34 +03:00
0e00f9287a Remove useless modifier, because now we replenish Governance Staking contract balance in proposal itself 2023-05-27 16:39:17 +03:00
662b608a26 Replenish Governance Staking balance from Governance in proposal execution 2023-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) 2023-05-27 14:35:34 +03:00
fd4a7e261c Added tests that check the correctness of accrual of rewards after redeploy Staking contract 2023-05-27 14:32:56 +03:00
9995638a1c Added tests to verify that updated contracts have the correct internal state 2023-05-27 14:31:22 +03:00
23b15c03f1 Added tests to ensure that all contracts are updated correctly 2023-05-27 14:30:29 +03:00
f33a61c906 Prepare util functions and contracts to test proposal 2023-05-27 14:27:19 +03:00
af38a8dcc9 Redeploy staking as proxy & format all with new foundry settings 2023-05-26 15:01:45 +03:00
dc1bf7e2a7 Fix parameter - rename '--block-number' to '--fork-block-number' to test running on specified block 2023-05-26 14:38:24 +03:00
afd40e28ac Init 2023-05-24 23:21:16 +03:00