Commit Graph

24 Commits

Author SHA1 Message Date
Theo
5fbeaa7a72 Move tests to forge subdirectory 2023-05-28 14:54:45 +03:00
Theo
baf416acaf Add README to proposal patch 2023-05-28 12:17:54 +03:00
Theo
7f0433bd33 Create deploy script 2023-05-28 11:15:07 +03:00
Theo
2031afdbe8 Change proposal: now creating with predeployed staking proxy and relayer registry implementation 2023-05-28 11:14:51 +03:00
Theo
195840d678 Move proprietary information to source folder 2023-05-28 11:12:06 +03:00
Theo
77b361d8a5 Cleanup after merge 2023-05-27 18:56:29 +03:00
Theo
9525b3dae4 Merge pull request 'main' (#1) from AlienTornadosaurusHex/proposal-22-governance-and-rewards-patch:main into main
Reviewed-on: https://git.tornado.ws/Theo/proposal-22-governance-and-rewards-patch/pulls/1
2023-05-27 17:43:26 +02:00
AlienTornadosaurusHex
2aabdc4bbe cleanup
Signed-off-by: AlienTornadosaurusHex <>
2023-05-27 15:29:13 +00:00
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
Theo
f3df5c0b14 Add parameter for denominator for uint256 -> TORN 2023-05-27 17:31:54 +03:00
Theo
fd57f13e63 Remove nonce log 2023-05-27 17:29:32 +03:00
Theo
ff9f10c5b3 Get actual account nonce while signing messages to ERC20Permit 2023-05-27 17:17:58 +03:00
Theo
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
Theo
42facc194d Change parameters 2023-05-27 17:13:34 +03:00
Theo
0e00f9287a Remove useless modifier, because now we replenish Governance Staking contract balance in proposal itself 2023-05-27 16:39:17 +03:00
Theo
662b608a26 Replenish Governance Staking balance from Governance in proposal execution 2023-05-27 16:26:48 +03:00
Theo
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
Theo
fd4a7e261c Added tests that check the correctness of accrual of rewards after redeploy Staking contract 2023-05-27 14:32:56 +03:00
Theo
9995638a1c Added tests to verify that updated contracts have the correct internal state 2023-05-27 14:31:22 +03:00
Theo
23b15c03f1 Added tests to ensure that all contracts are updated correctly 2023-05-27 14:30:29 +03:00
Theo
f33a61c906 Prepare util functions and contracts to test proposal 2023-05-27 14:27:19 +03:00
Theo
af38a8dcc9 Redeploy staking as proxy & format all with new foundry settings 2023-05-26 15:01:45 +03:00
Theo
dc1bf7e2a7 Fix parameter - rename '--block-number' to '--fork-block-number' to test running on specified block 2023-05-26 14:38:24 +03:00
Theo
afd40e28ac Init 2023-05-24 23:21:16 +03:00