Skip to content

Commit

Permalink
test: Dispute test update (#383) (#389)
Browse files Browse the repository at this point in the history
* notes

* update SetVoterReporterStake

* update vote and tally, claimReward

* rewards

* no rewards in executeVote

* try tally in vote and preblock, handle failed dispute

* auto execute disputes

* cleanup unused

* remove legacydec

* implemented the change from Dec to Uint in slashing and jailing during disputes

* started working on getting tests to pass but am just going to build and start chain

* fixed test for TestEscrowReporterStakeUnbondingdelegations

* fix autocli

* test execute

* tests

* tests

* test: some dispute module unit test  (#384)

* vote_test.go

* vote.go test, tally.go test, dispute.go test

* linting

* fix msg_server_vote_test.go

* fix dispute unit test, linting

* comments

* pushing up to check changes and progress

* got TestDisputes2 passing in e2e_test.go

* dispute keeper test

* adjust stored delegations amounts by 1e6

* test

* test

* tests

* test: execute_vote.go fixes (#387)

* feat: add tip listener to daemon (#382)

* added function to listen for tipped queries

* added tip listening process to reporter daemon client and updated app.go so that it doesn't generate the config files every time but just reads them. Allowing users to just edit the config files to add pairs or remove sources

* made some small changes to function names and added a check to make sure the query that was tipped is a spot price

* made lint fixes

* execute_test.go fix

---------

Co-authored-by: CJPotter10 <[email protected]>

* Finished part of the dispute testing (#388)

* updated Execute and tally votes to not return an error in the event of no votes existing and instead it creates a 0 initialized StakeHolderVoteCounts object so it returns 0 instead of an error

* got TestExecuteVoteSupport passing

* recommented a function out

---------

Co-authored-by: tkernell <[email protected]>

* lint

* remove prints

---------

Co-authored-by: Cjpotter10 <[email protected]>
Co-authored-by: Dan F <[email protected]>
Co-authored-by: CJPotter10 <[email protected]>
(cherry picked from commit a991c38)

Co-authored-by: tkernell <[email protected]>
  • Loading branch information
github-actions[bot] and tkernell authored Oct 23, 2024
1 parent 31a05b4 commit ac956ee
Show file tree
Hide file tree
Showing 51 changed files with 4,396 additions and 4,539 deletions.
22 changes: 22 additions & 0 deletions api/layer/bridge/query_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ac956ee

Please sign in to comment.