shapeshift / rFOX

rFOX - RUNE rewards for FOX stakers
MIT License
0 stars 0 forks source link

fix: use anvil for local rewards distribution script contract deployments #49

Closed woodenfurniture closed 4 months ago

woodenfurniture commented 4 months ago

Relates to #10

Brings the original rewards distribution script back into a working state with our upgradeable proxy.

Performs contract deployment to local fork via anvil which also uses our production-ready contract deploy script to ensure the proxy is correctly deployed with initialization.

Adds some extra debugging, safer/corrected log parsing and type safety improvements.

Doesn't actually change or improve the original staking rewards script flow and logic - this will be done in follow-up task.