oceanprotocol-archive / DAOBot

Web3 Glue for OceanDAO
6 stars 4 forks source link

Fix `Last Balance Check` checks #164

Closed trizin closed 2 years ago

trizin commented 2 years ago

Changes proposed in this PR:

idiom-bytes commented 2 years ago

Updates make sense. Am just wondering if there are edge cases around it that should be getting tested.

trizin commented 2 years ago

Feel free to test it on your local! I believe I tested most of the cases. @idiom-bytes

trizin commented 2 years ago

We should reconsider this change: https://github.com/oceanprotocol/DAOBot/pull/164/files#diff-d08d59ff6fd7a3061d544f05bc7122a70312ee9614e5b24cd07ffaede2c63a09L56-L67

idiom-bytes commented 2 years ago

[Change reverted] Whenever proposals are configured for snapshot Proposals.Prepare(Snapshot Voting Period) => 500 OCEAN check is applied.

Please note: Test execution time has somewhere along the way nearly doubled from ~90s => ~180s.