Skip to content

Eos signing#995

Closed
Sriep wants to merge 3048 commits intomasterfrom
eos-singing2
Closed

Eos signing#995
Sriep wants to merge 3048 commits intomasterfrom
eos-singing2

Conversation

@Sriep
Copy link
Copy Markdown
Contributor

@Sriep Sriep commented Apr 12, 2019

  • I added unit tests for any code that added
  • I updated the CHANGELOG.md
  • All IP is original and not copied from another source
  • I assign all copyright to Loom Network for the code in the pull request

changes moved from #865
Requires loomnetwork/go-loom#311

aupiff and others added 30 commits April 8, 2019 17:29
* Sanitize req.ValidatorAddress
* Throw if validator address has invalid chain id instead of fixing it for clients
undoubled delegation & migration testing
DPOSv2.1 Fix Whitelist multiplier bug
* take bonuses into account when rewarding whitelists
* add test for correct whitelist reward bonuses after many elections
adjusting tests to work with new calculateRewards func
gakonst and others added 20 commits May 4, 2019 18:19
adding SetMinCandidateFee command
* eth_getCode for go-contracts

* eth_getCode for go-contracts

* eth_getCode for go-contracts

* Returning simple contract code
- Remove unused flags from CLI commands.
- Fix e2e tests that invoked CLI commands with unnecessary flags.
Previously these JSON-RPC endpoints loaded tx info from the Tendermint tx index DB, which on some clusters might be missing info for older txs. Since most of the relevant tx info can be decoded from the tx bytes within a block that's what these endpoints do now instead of relying on the tx index DB.
Lock down `google.golang.org/genproto` to avoid `pb.go` compiled with a newer protoc/gogo protobuf version than ours.
The caching store doesn't work with the multi writer app store
snapshots, so the snapshots bypass the cache, which means the QueryServer
never hits the cache in the caching store, no point writing to the cache
if nothing ever reads from it.

Also simplified the Range implementation of the multi writer app store
and the EVM store, we don't really use Range(nil) anywhere, and there
was a lot of code to support that use case that just added a lot of
additional complexity.
MultiWriterAppStore for EVM state migration
Copy link
Copy Markdown
Contributor

@enlight enlight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are there two chain IDs for EOS (eos & eos-scatter), tx signature has a type prefix so it should be possible to figure out which method was used to sign and handle everything with a single chain ID.

Comment thread auth/chainconfig_middleware_test.go Outdated
Comment thread auth/eth.go Outdated
Comment thread builtin/plugins/address_mapper/address_mapper.go
Comment thread cmd/loom/addressmapper.go Outdated
Comment thread cmd/loom/addressmapper.go Outdated
Comment thread cmd/loom/addressmapper.go Outdated
Comment thread cmd/loom/addressmapper.go Outdated
Comment thread cmd/loom/addressmapper.go Outdated
Comment thread cmd/loom/sendtx.go Outdated
Comment thread cmd/loom/sendtx.go Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants