Commit Graph

1070 Commits

Author SHA1 Message Date
Federico Kunze
6c1e7fec01
app, ante, evm: Keeper StateDB refactor (#30)
* evm: keeper statedb refactor

* keeper: implement stateDB account, balance, nonce and suicide functions

* keeper: implement stateDB code and iterator functions

* keeper: implement stateDB log and preimage functions

* update code to use CommitStateDB

* tests updates

* journal changes (wip)

* cache fields

* journal and logs

* minor cleanup

* evm: remove journal related changes

* evm: delete empty account code and storage state

* app, evm: transient store

* ante, evm: refund gas transient

* evm: remove transient keeper state fields

* address comments from review

* evm: undo revision change
2021-05-25 08:56:36 -04:00
Thomas Nguy
bd89830d64
tests: fix script (#43) 2021-05-25 04:46:10 -04:00
Federico Kunze
596373dc9d
makefile: fix make (#33) 2021-05-21 06:24:53 -04:00
Thomas Nguy
293c5edfd0
client: fix runAddCmd (#39) 2021-05-21 01:51:48 -04:00
dependabot[bot]
47bc313235
build(deps): bump google.golang.org/grpc from 1.37.1 to 1.38.0 (#38)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.37.1 to 1.38.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.1...v1.38.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 13:00:23 -04:00
dependabot[bot]
cbf3d593a1
build(deps): bump github.com/cosmos/cosmos-sdk from 0.42.4 to 0.42.5 (#37)
Bumps [github.com/cosmos/cosmos-sdk](https://github.com/cosmos/cosmos-sdk) from 0.42.4 to 0.42.5.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/v0.42.5/CHANGELOG.md)
- [Commits](https://github.com/cosmos/cosmos-sdk/compare/v0.42.4...v0.42.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 12:48:02 -04:00
Federico Kunze
18d1f01e82
startport: setup (#27)
* starport: setup

* define genesis fields on config

* fixes

* update validator stake; credits to @fadeev

* JSON-RPC address setup
2021-05-20 03:44:07 -04:00
Federico Kunze
1975fbfb0f
repo: update collaborators (#32) 2021-05-19 09:35:22 -04:00
dependabot[bot]
4702ad86e2
build(deps): bump actions/stale from 3.0.18 to 3.0.19 (#29)
Bumps [actions/stale](https://github.com/actions/stale) from 3.0.18 to 3.0.19.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.18...v3.0.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 05:06:19 -04:00
Federico Kunze
fac1761d8e
ADR 001: State (#26)
* adr 001: state

* additional notes

* more updates

* context

* state transition
2021-05-17 18:36:41 -04:00
Federico Kunze
2c722d03ce
rpc, evm: gRPC tests (#28)
* rpc, evm: grpc tests

* address validation

* update rpc

* test cleanup

* additional tests
2021-05-17 06:13:08 -04:00
Federico Kunze
7c206554b7
workflows: create codeql-analysis.yml for Go an Js (#25) 2021-05-14 18:03:14 -04:00
Federico Kunze
b3066f2631
evm: SDK metrics (#24)
* evm: SDK metrics

* update BeginBlock

* changelog
2021-05-14 17:44:58 -04:00
Federico Kunze
ba5bf33f19
proto, evm: use string for address and hash protobuf message fields (#23)
* proto, evm: use string for address and hash protobuf message fields

* fix tests

* msg test
2021-05-14 02:52:18 -04:00
Federico Kunze
a952bc36d1
rpc: personal API (#21)
* rpc: personal API
* rpc: fix personal_newAccount
2021-05-12 12:50:26 -04:00
Federico Kunze
65453e4aa0
rpc, evm: secure tx signing (#20)
* rpc, evm: secure signing

* evm, ante: test signer

* tests
2021-05-12 09:08:31 -04:00
dependabot[bot]
decd0748ac
build(deps): bump actions/checkout from 2 to 2.3.4 (#15)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 06:39:54 -04:00
dependabot[bot]
f0a1779cc2
build(deps): bump c-hive/gha-remove-artifacts from 1 to 1.2.0 (#16)
Bumps [c-hive/gha-remove-artifacts](https://github.com/c-hive/gha-remove-artifacts) from 1 to 1.2.0.
- [Release notes](https://github.com/c-hive/gha-remove-artifacts/releases)
- [Commits](https://github.com/c-hive/gha-remove-artifacts/compare/v1...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 06:39:36 -04:00
dependabot[bot]
e897d1911b
build(deps): bump codecov/codecov-action from 1 to 1.5.0 (#17)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1 to 1.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1...v1.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 06:39:24 -04:00
dependabot[bot]
42470054bf
build(deps): bump technote-space/get-diff-action from 4 to 4.1.1 (#18)
Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action) from 4 to 4.1.1.
- [Release notes](https://github.com/technote-space/get-diff-action/releases)
- [Changelog](https://github.com/technote-space/get-diff-action/blob/master/.releasegarc)
- [Commits](https://github.com/technote-space/get-diff-action/compare/v4...v4.1.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 06:38:54 -04:00
dependabot[bot]
7a9429dac7
build(deps): bump google.golang.org/grpc from 1.37.0 to 1.37.1 (#19)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.37.0 to 1.37.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.37.0...v1.37.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 06:38:41 -04:00
dependabot[bot]
508de665e9
build(deps): bump actions/stale from 3 to 3.0.18 (#14)
Bumps [actions/stale](https://github.com/actions/stale) from 3 to 3.0.18.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3...v3.0.18)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 06:38:20 -04:00
Federico Kunze
51bf33531e
docs: bump dependencies (#13) 2021-05-11 12:30:14 -04:00
Federico Kunze
96cad7de9c
tests: reorganize packages (#7)
* tests: reorganize testing packages

* gitignore and minor changes
2021-05-11 07:54:55 -04:00
Federico Kunze
117342b1b3
all, deps: bump go-ethereum version (#5)
* evm, rpc: access lists, JSON-RPC and transaction updates (wip)

* ante, evm, rpc: update signature verification

* evm: msg server and tests updates

* evm: tests (wip)

* evm: fix cdc and params

* evm: cleanup state transition

* fix nil cases

* lint
2021-05-10 12:34:00 -04:00
dependabot[bot]
7877ae597c
build(deps): bump github.com/spf13/cobra from 1.1.1 to 1.1.3 (#4)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Changelog](https://github.com/spf13/cobra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.1.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 04:59:54 -04:00
dependabot[bot]
fdf0f9e86b
build(deps): bump github.com/tyler-smith/go-bip39 from 1.0.2 to 1.1.0
Bumps [github.com/tyler-smith/go-bip39](https://github.com/tyler-smith/go-bip39) from 1.0.2 to 1.1.0.
- [Release notes](https://github.com/tyler-smith/go-bip39/releases)
- [Commits](https://github.com/tyler-smith/go-bip39/compare/v1.0.2...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 08:10:47 -04:00
Federico Kunze
77be0bc022
cherry picks ethermint 2021-05-05 15:10:21 +02:00
Federico Kunze
374d249116
fix test compilation 2021-04-21 15:41:30 +02:00
Federico Kunze
4d849a6241
minor changes 2021-04-19 12:49:55 +02:00
Federico Kunze
036071272f
node running 2021-04-19 09:30:55 +02:00
Federico Kunze
4a9d63356e
cleanup proto 2021-04-19 09:10:57 +02:00
Federico Kunze
6f7470c2e0
build 2021-04-18 19:23:26 +02:00
Federico Kunze
cb2ab3d95d
more fixes 2021-04-18 18:39:15 +02:00
Federico Kunze
614e62fb7e
additions 2021-04-18 17:54:18 +02:00
Federico Kunze
5a3d514ba0
conflicts 2021-04-17 12:00:07 +02:00
Daniel Choi
20f9a72908
Upgrade SDK v0.39.3 (#856)
* upgrade sdk v0.39.3

* update changelog sdk

* update packages
2021-04-08 18:16:23 -04:00
Ray Pierre
75fb3ccb89
fix incorrect blockHash in evm (#780)
* Fix wrong blockHash value in evm

* fix ut

* store current block hash in BeginBlock

* update ut

* update comment

* add changelog
2021-03-18 20:04:29 -07:00
Daniel Choi
2df3abd6a2
Rpcapi fix - requires Eth namespace (#845)
* update join_network docs

* add eth as default in apis

* update changelog
2021-03-16 13:37:32 -07:00
KamiD
2294a19e23
fix gas fee calcuation error (#798)
Co-authored-by: Daniel Choi <13338103+araskachoi@users.noreply.github.com>
2021-03-15 10:17:52 -07:00
Daniel Choi
e31fcc7012
update join_network docs (#827)
* update join_network docs

* add flag to cmd

* edit rpc-api flag
2021-03-02 11:41:12 -08:00
Daniel Choi
52587bf39f
Update Codeowner (#829)
* update codeowners
2021-03-02 11:16:02 -08:00
dependabot[bot]
ce41c6a7a1
build(deps): bump prismjs from 1.21.0 to 1.23.0 in /docs (#826)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-01 22:18:11 -03:00
Daniel Choi
11fbf1fd44
update changelog for rpc api changes (#824)
* add cmd flag for rpc api modules

* add rpc-api flags

* improve test by fixing race condition by sleeping

* edit changelog
2021-03-01 12:12:19 -08:00
Daniel Choi
d1e22e1544
add cmd flag for rpc api modules (#821)
* add cmd flag for rpc api modules
* fix test-contract race condition by sleeping
2021-02-26 13:52:33 -08:00
Helder Moreira
99112e1cbd
init: add random chain-id generator (#797)
* init: add random chain-id generator

* Update types/chain_id.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2021-02-26 15:50:22 +00:00
dependabot[bot]
a82a2cebaf
build(deps): bump actions/setup-node from v2.1.4 to v2.1.5 (#818)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.4...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-25 22:41:00 -03:00
KamiD
fae8147352
Fix failed to call EstimateGas (#761)
* fix failed to call function EstimateGas

* add ut to test estimateGas after contract deployed
2021-02-16 13:04:29 -08:00
KamiD
177574aafa
fix error of timeout when using Truffle to deploy contract (#768)
* fix error of timeout when using Truffle to deploy contract

* fix CHANGELOG.MD

Co-authored-by: Daniel Choi <13338103+araskachoi@users.noreply.github.com>
2021-02-08 15:54:18 -08:00
Ray Green
7995ccd609
remove the operation code that makes gas meter into zero (#777)
* remove the operation code that makes gas meter into zero

* just delete the code

Co-authored-by: Daniel Choi <13338103+araskachoi@users.noreply.github.com>
2021-02-08 11:10:44 -08:00