yihuang
fd19394fba
ante: don't skip EthSigVerificationDecorator
for RecheckTx
( #186 )
...
Because it set the `From` field which is relied by other handlers
Closes #185
2021-06-25 09:28:28 -04:00
dependabot[bot]
d937d2c9ce
build(deps): bump technote-space/get-diff-action from 4.1.1 to 4.1.2 ( #189 )
...
* build(deps): bump technote-space/get-diff-action from 4.1.1 to 4.1.2
Bumps [technote-space/get-diff-action](https://github.com/technote-space/get-diff-action ) from 4.1.1 to 4.1.2.
- [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.1.1...v4.1.2 )
---
updated-dependencies:
- dependency-name: technote-space/get-diff-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update yml
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2021-06-25 07:32:28 -04:00
Federico Kunze
459a290951
tests: add testutils for integration testing ( #132 )
...
* tests: add testutils for integration testing
* update util
* fix config
* more updates
* rand chain-id
* add rpc client integration test example
* makefile
* rename
* updates to makefile
2021-06-25 05:18:37 -04:00
Thomas Nguy
61260dfda8
fix linter issues ( #184 )
2021-06-25 04:31:57 -04:00
Federico Kunze
365c96acfa
evm: update log tx hash key ( #182 )
...
* evm: update log tx hash key
* update test
2021-06-24 12:05:45 -04:00
Federico Kunze
0f3a346cdc
rpc: use evm denom for tx fee ( #181 )
...
* rpc: use evm denom for tx fee
* changelog
2021-06-24 04:22:36 -04:00
Thomas Nguy
b7f00d5a07
rpc: fix nil pointer exception when parameters are nil ( #180 )
...
* fix nil pointer exception when parameters are nil
* Update ethereum/rpc/types/types.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-24 03:57:51 -04:00
crypto-facs
1c06553746
rpc: namespaces refractor ( #170 )
...
* refactor: rpc namespace refactor - txpool
* refactor: rpc namespace refactor - net
* refactor: rpc namespace refactor - web3
* refactor: rpc namespace refactor - eth
* refactor: rpc namespace refactor - personal
* fix: api to uppercase
* fix: fix import cycle
* fix: fix import cycle
2021-06-23 02:38:05 -04:00
Federico Kunze
1f962044e2
fix: revert go.mod changes
2021-06-22 12:59:12 +02:00
Federico Kunze
6000ab2098
chore: un-fork from cosmos ( #166 )
...
* chore: un-fork from cosmos
* rm LoC
2021-06-22 06:49:18 -04:00
Thomas Nguy
fada59551d
rpc, evm: fix eth_coinbase
endpoint to return ethereum address of the validator node ( #153 )
...
* fix coinbase rpc endpoint to return ethereum address of the validator
* update changelog
* fix lint
* clean code and simplify logic
* fix changelog
* change request variable name and type
* add test
* fix proto comments
* fix proto comments
* Update x/evm/keeper/grpc_query.go
* Update x/evm/keeper/grpc_query.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-22 06:14:40 -04:00
Federico Kunze
4ca7c43b62
deps: bump SDK and Tendermint versions ( #165 )
...
* deps: bump SDK and Tendermint versions
* use header hash from context
* c++
* typo
2021-06-22 04:25:38 -04:00
yihuang
95bd7563d4
rpc: extract msg from cosmos tx ( #163 )
...
Closes #162
2021-06-22 03:49:25 -04:00
crypto-facs
b5ea5bf6b9
evm: return valid nonce on eth_getBlockByNumber
( #156 )
2021-06-22 03:45:10 -04:00
yihuang
62fe3d7e80
rpc: SendTransaction
wrap MsgEthereumTx
in cosmos tx ( #161 )
...
* `SendTransaction` wrap `MsgEthereumTx` in cosmos tx
Closes #160
* Update ethereum/rpc/eth_api.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-22 03:32:06 -04:00
Yijia Su
71572d7ce0
build: add node_modules
to .gitignore ( #164 )
2021-06-22 03:12:51 -04:00
yihuang
6d5a59646a
rpc: SendTransaction
returns error message for invalid tx on broadcast sync mode ( #159 )
...
* SendTransaction returns error message for invalid tx
- use sync broadcast
- treat error response to error return
Closes : #158
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-22 03:11:53 -04:00
Federico Kunze
04bacbdd1b
fix and comment outdated tests ( #155 )
...
* fix and comment outdated tests
* config test
* update workflow for tests
2021-06-21 10:17:31 -04:00
crypto-facs
b4d3659547
feat: add txpool
namespace RPC methods ( #146 )
...
* rpc: add txpool namespace and txpool_content endpoint
* fix PublicTxPoolAPI naming typo
* Update ethereum/rpc/txpool_api.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update ethereum/rpc/txpool_api.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* rpc: add txpool_inspect method
* rpc: add txpool_status method
* docs: Update Changelog with TxPool methods
* docs: Add txpool namespace methods documentation
* fix: removed txpool functions from backend.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-21 10:06:30 -04:00
Federico Kunze
8a2a8d377f
evm: fix types unit tests ( #154 )
...
* tests: fix evm unit tests
* lint
2021-06-21 09:09:23 -04:00
yihuang
91ad6387bf
ante: ignore no signature error for evm transactions ( #143 )
...
fixes #118
don't sign unit test tx
since that's the same case as real tx
comment EthValidateBasicDecorator
2021-06-21 06:44:37 -04:00
Thomas Nguy
d8926636e7
rpc: fix gas price value returns constant 0 ( #141 )
2021-06-21 04:03:54 -04:00
yihuang
a3ee8a4622
rpc: fix default nonce ( #152 )
...
fixes #151
2021-06-21 04:02:05 -04:00
yihuang
eee53a9500
ante: add ValidateMemoDecorator
evm tx ( #150 )
...
fixes #149
2021-06-21 03:59:45 -04:00
yihuang
6be18a1cb4
cmd: include go-ethereum's log to stdout ( #134 )
...
fixes #133
2021-06-16 12:27:50 -04:00
dependabot[bot]
14d0f1f92d
build(deps): bump github.com/spf13/viper from 1.7.1 to 1.8.0 ( #138 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 12:23:39 -04:00
hello-bwhour
d7da045fc4
ante: check that sender is a EOA ( #125 )
...
* ante: check that sender is a EOA
* fix: GetCodeSize handles nil case and comments
* docs: add TODO comment
* fix: use EmptyCodeHash check
* lint: evmtypes instead of types
* lint: fix suite error
* test: set code to act not as EOA
* undo comment on GetCodeSize
* keeper: fix input checks
* Apply suggestions from code review
Co-authored-by: Akash Khosla <me@akashkhosla.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-15 13:39:41 -04:00
Thomas Nguy
d3c5df9dda
evm: set chainID in context during BeginBlock
( #130 )
2021-06-15 07:53:19 -04:00
dependabot[bot]
d4f742cb6d
build(deps): bump github.com/armon/go-metrics from 0.3.8 to 0.3.9 ( #129 )
...
Bumps [github.com/armon/go-metrics](https://github.com/armon/go-metrics ) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/armon/go-metrics/releases )
- [Commits](https://github.com/armon/go-metrics/compare/v0.3.8...v0.3.9 )
---
updated-dependencies:
- dependency-name: github.com/armon/go-metrics
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 06:19:25 -04:00
Federico Kunze
7f72891c09
ante: add stacktrace ( #123 )
2021-06-15 03:19:31 -04:00
Federico Kunze
3a74d2402b
rpc: remove error on personal_unlockAccount
( #128 )
...
* rpc: unlock key by default
* return false
* add ref to issue
2021-06-15 03:18:58 -04:00
Federico Kunze
5af5dd9956
docs: update ADR-001 ( #122 )
...
* docs: update ADR-001
* update
* apply transaction changes:
2021-06-14 15:13:31 -04:00
Federico Kunze
bb91d8d93d
ante, evm: fix panic when checking BlockGasMeter
( #120 )
...
* ante, evm: fix panic when checking BlockGasMeter
* update block gas limit function
2021-06-14 10:24:08 -04:00
Thomas Nguy
9d18414c93
fix: tx amount can be nil or zero ( #117 )
...
* amount can be nil or zero
* fix cost function
* fix tests
2021-06-14 08:42:34 -04:00
Federico Kunze
f762087d36
build: deploy docs to GitHub Pages ( #116 )
...
* build: deploy docs to GitHub Pages
* versioning
* try fix
* fix swagger docs
* fix docs build
2021-06-12 12:27:10 -04:00
Federico Kunze
5fe785e917
evm: stacktrace errors for keeper ( #105 )
...
* evm: stacktrace errors for keeper
* fix godoc
2021-06-11 10:29:28 -04:00
Federico Kunze
e8f6f7838e
evm: support legacy tx ( #109 )
...
* evm: support legacy tx
* lint and minor fix
* tx data constructor
* tx data tests
* ante handler tests
* fill msg sender
* c++
2021-06-11 09:38:51 -04:00
yihuang
0c423e8fa1
cmd: remove duplicated vesting tx cli ( #114 )
...
fixes : #113
2021-06-11 01:56:10 -04:00
Leo Pang
69f8837c76
hd: fix rename method Child
of ExtendedKey
( #108 )
2021-06-09 07:54:08 -04:00
dependabot[bot]
16b9767781
build(deps): bump github.com/btcsuite/btcd ( #106 )
...
Bumps [github.com/btcsuite/btcd](https://github.com/btcsuite/btcd ) from 0.21.0-beta to 0.22.0-beta.
- [Release notes](https://github.com/btcsuite/btcd/releases )
- [Changelog](https://github.com/btcsuite/btcd/blob/master/CHANGES )
- [Commits](https://github.com/btcsuite/btcd/compare/v0.21.0-beta...v0.22.0-beta )
---
updated-dependencies:
- dependency-name: github.com/btcsuite/btcd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 06:22:38 -04:00
dependabot[bot]
a91ef054f2
build(deps): bump codecov/codecov-action from 1.5.0 to 1.5.2 ( #104 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 1.5.0 to 1.5.2.
- [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.5.0...v1.5.2 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-09 06:12:53 -04:00
Federico Kunze
d18f41956d
feat: auto labeler, cleanup github actions ( #103 )
...
* feat: auto labeler, cleanup github actions
* labeler GA
2021-06-09 04:11:23 -04:00
Calvin Lau
16cb56d270
rpc: fix CodeHash
type error on build ( #100 )
2021-06-09 03:19:08 -04:00
Federico Kunze
0c6e44d3d3
evm: remove CommitStateDB
, journal
and stateObject
( #84 )
...
* evm: remove CommitStateDB and stateObject
* imported build fixes
* lint
* rm set nonce
* update account response
* changelog
2021-06-08 13:10:29 -04:00
Federico Kunze
6eadc8fdf8
rpc, evm: remove tx Receipt
( #81 )
...
* rpc, evm: remove tc receipt
* rm receipt from gRPC query service
* update eth block
* update tx service response
* rpc tx fixes
* update bloom
* fix
* more fixes
* c++
2021-06-08 07:11:37 -04:00
Akash Khosla
e3270aee5d
lint: fix many broken lint issues ( #49 )
...
* lint: fix many broken lint issues
* more lint issues resolved
* more lint issues resolved
* all actions issues fixed
* pin variables for websocket
* Update .github/workflows/lint.yml
* more fixes
* fix lint issues in pubsub, rpc, types
* fix lint issues in statedb, journal, pubsub, cli
* fix comment
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2021-06-08 03:07:11 -04:00
Federico Kunze
fcb7c114d0
rpc: fix eth_getBlockByNumber
( #78 )
2021-06-07 07:02:52 -04:00
Federico Kunze
1ff3c46663
evm: replace block hash storage ( #80 )
...
* evm: replace block hash storage
* c++
2021-06-07 07:00:14 -04:00
Federico Kunze
e639cb4a82
evm: use TransientStore
for AccessList
( #75 )
...
* evm: use transient store for access list
* evm: remove address and slot access list mappings
* update tests
* update
* changelog
* update types
2021-06-07 06:05:49 -04:00
dependabot[bot]
c78d720532
build(deps): bump ws from 6.2.1 to 6.2.2 in /docs ( #74 )
...
Bumps [ws](https://github.com/websockets/ws ) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/commits )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-07 03:13:46 -04:00