0g-chain/x/incentive/testutil
Derrick Lee e8242ace80
fix: Use correct share values for earn incentive hooks (#1347)
* Call earn hooks with correct share values

User's shares instead of total vault shares

* Use different amounts for different accounts

* Add claim test with staking claims

* Remove logging statements

* Remove log

* Pass suite.T() to mock earn hooks

* Use begin blocker for staking reward distribution

* Remove unused beginblocker

* Remove log
2022-10-12 14:35:09 -07:00
..
builder.go fix: Use correct share values for earn incentive hooks (#1347) 2022-10-12 14:35:09 -07:00
integration.go fix: Use correct share values for earn incentive hooks (#1347) 2022-10-12 14:35:09 -07:00