gnosisguild / zodiac-module-reality

A Zodiac module that uses Reality.eth as an oracle for triggering execution on a Safe.
GNU Lesser General Public License v3.0
101 stars 52 forks source link

Add minimum bond #33

Closed auryn-macmillan closed 3 years ago

auryn-macmillan commented 3 years ago

The latest version of Reality.eth allows the question asker to require a minimum bond. Making use of this would reduce our monitoring requirements.

https://github.com/RealityETH/monorepo/tree/feature-v3-audit/packages/contracts

auryn-macmillan commented 3 years ago

From Edmund

One thing to watch for is that the way question IDs are calculated changes (as it will now add min_bond to the hash, and also the address of the reality.eth contract to prevent collisions), so if you're calculating on the client side rather than waiting to see what the contract returns it'll need updating.

rmeissner commented 3 years ago

See https://github.com/RealityETH/monorepo/blob/feature-v3-audit/packages/contracts/development/contracts/RealityETH-3.0.sol#L301