Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth_sendRawTransaction modifyed to support Ethereum transactions #1199

Closed
wants to merge 3,104 commits into from

Conversation

Sriep
Copy link
Contributor

@Sriep Sriep commented Jun 4, 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

gakonst and others added 30 commits April 15, 2019 13:20
Load dposv3 when set in the loom.yml
* Fix cluster readiness check in e2e test runner

Previous implementation didn't actually work properly.

* Increase max retries to 5 while waiting for nodes to start up

coin-2 really doesn't like starting up in timely fashion sometimes.
…rom PR 886 (#1001)

- Fix review issues from #886
- Write websocket response in a separate go-routine, to avoid concurrency issues.
* Compress and move test data

* Only include logs

* Reorder
Force the ChainConfigManager to panic if it tries to enable a feature that's not supported by the current build. This should safely prevent the node from processing any further blocks in case a feature it doesn't support is activated by the rest of the chain. To make this work features now have a minimum build number associated with them, which must be specified by the ChainConfig contract owner when adding new features.

The new functionality is not behind a feature flag, so once this is deployed to production new features can't be added until the whole cluster upgrades to a new build.
* URI support in e2e test runner
* URI support in coin tests
* Coin command migration to go-loom
* URI FLag support in sendtx
* URI support in util.go
A limiter is used to limit calls to karma+maxCalls(from loom.yaml) In the code the maxCalls factor was being added twice, once https://github.com/loomnetwork/loomchain/blob/4dfcbfd75d4afa618460d4501d1c56e0f5a561a5/throttle/karma-middleware.go#L132 here and again here when the Limiter is created.
The net effect is that Call txs are not being limited effectively.
This package is not relevant to the TM upgrade, its probably the
remnant of some experiment.
Backport some fixes from newer Tendermint versions.
`StoreState.Validators()` now returns either the current validator set from either the DPOS v3 contract, the DPOS v2, or from the TM genesis file if neither contract is enabled. `StoreState.Validators()` is hooked up to the `Validators()` function on the contract context.

The ChainConfig contract has been refactored slightly to use `StoreState.Validators()` (via the contract context) instead of querying the DPOS contracts directly, the new behavior is behind a feature flag named `chaincfg:v1.1`.

The DPOS v1 contract no longer calls `SetValidatorPower` via the contract context, this should a backwards compatible change since the validator power changes were never persisted to `app.db`, nor propagated to Tendermint.
* move helper function to util.go
* migrate delegations from plasma-* nodes to plasma-0
* add test for the migration of both delegations to plasma validators and non-plasma validators
When delegations that are getting redelegated get processed in distributeDelegatorRewards during the next election, the original delegation is essentially refunded to the delegator, and a new delegation with req.Amount goes into effect.  So the net effect is that the delegator receives req.Amount in new money.

Fixed by setting the state during redelegation to REDELEGATING, and updating the updateValidator to be the same as before
DPOS commands should now be executed via the loom CLI as follows:
loom dposV2 <command> <args>
loom dposV3 <command> <args>
ParthDesai and others added 21 commits May 29, 2019 17:43
#1173)

`debug set-app-height` command can be used to set the height the node should start replaying from on the next run.
github.com/tendermint/tmlibs/db was deprecated and
github.com/tendermint/tendermint/libs/db should be used instead.
Previously block hashes were used as keys without being prefixed by anything, this may become a problem if we decide to add additional data to this DB, to make the DB a bit more future proof the block hash keys are no prefixed.
- converting electime tests to use dposv3

fixing dposv3 elect-time tests

reviving dpos downtime e2e test
* Wait for rewards delegation to unbond before withdrawing the rewards

* specify Validator when calling CheckRewardDelegation

* Update Makefile
…1145)

Also remove support for in-process TG Oracles, that's only ever used in tests, in production each oracle runs as a separate process so that's what we should be testing.
@Sriep
Copy link
Contributor Author

Sriep commented Jun 4, 2019

Fix for #1177
Changes to support Ethereum transactions

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.