Commit Graph

27 Commits

Author SHA1 Message Date
04ba45b2c1 Add tests for existent proposal 22 2023-06-01 12:38:49 -07:00
f0f5424edf Add Rust to dependecies (because foundry installed via cargo) 2023-06-01 11:23:38 -07:00
bca8932686 Add gas testing 2023-05-28 14:54:55 +03:00
5fbeaa7a72 Move tests to forge subdirectory 2023-05-28 14:54:45 +03:00
baf416acaf Add README to proposal patch 2023-05-28 12:17:54 +03:00
7f0433bd33 Create deploy script 2023-05-28 11:15:07 +03:00
2031afdbe8 Change proposal: now creating with predeployed staking proxy and relayer registry implementation 2023-05-28 11:14:51 +03:00
195840d678 Move proprietary information to source folder 2023-05-28 11:12:06 +03:00
77b361d8a5 Cleanup after merge 2023-05-27 18:56:29 +03:00
9525b3dae4 Merge pull request 'main' (#1) from AlienTornadosaurusHex/proposal-22-governance-and-rewards-patch:main into main
Reviewed-on: #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
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