Federico Kunze Küllmer
feed84b09c
imp(ante): refactor AnteHandler
( #1455 )
...
* fix(ante): block gas check
* refactor
* rename
* use gas wanted
* remove consume gas logic on ante handler
* comment
* c++
* move min gas price
* comment
* Update app/ante/eth.go
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
* fix build
* fix integration test script
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
2022-11-18 16:41:16 -05:00
Freddy Caceres
c20a50007c
fix: remove e2e github action ( #1463 )
...
* remove unused tests
* imp: remove e2e github action
2022-11-15 19:01:34 -05:00
Tuan Pham Anh
26c341d04d
test(rpc): Ethereum JSONRPC Websocket ( #1342 )
...
* WIP! add Ethereum JSONRPC Websocket test
* move to test-rpc
* clean up
* fix batch request with websocket
* refactor
2022-09-19 10:50:55 +00:00
Prajjwol Gautam
f32288b16d
ci: separate out rpc and integration tests ( #931 )
...
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-02-09 14:56:12 +01:00
Federico Kunze Küllmer
32c905ab87
tests: integration tests with JSON-RPC client ( #704 )
...
* tests: integration tests with JSON-RPC client
* fix package
* tests: networking configuration fixed (#706 )
* update testnet hdPath, fixes #688
* lint
* header
* e2e wip
* fix getBlock response
* enable personal API
* changelog
Co-authored-by: Guillermo Paoletti <guillermo.paoletti@gmail.com>
Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com>
2021-11-14 14:34:10 +01:00
Tomas Tauber
0cab27d529
fix: importer test is run on rpc tests check ( #700 )
...
restricted "go test" invocation in integration test scripts to e2e and rpc sub-dirs
closes #694
2021-10-25 11:08:34 +02:00
Federico Kunze Küllmer
aa1b728d34
feat: update chain-id
format ( #447 )
...
* feat: update chain-id format
* c++
* docs
* additional context'
2021-08-17 14:11:26 +00:00
Federico Kunze Küllmer
cc3b2ff8e9
evm, server: configurable tracer ( #434 )
...
* server: update server and enable configurable tracer
* config validation
* fix import cycle
* fix start
* update fields
* c++
* c++
2021-08-16 09:45:10 +00:00
Calvin Lau
8bfb6b0a67
rpc: implement net_listening
and net_peerCount
JSON-RPC endpoints ( #252 )
...
* Add net_listening net_peerCount endpoint
* Add test cases
* Use RPC client from context
* Fix lint issue
* Revert unnecessary changes
* Update JSON RPC documentation
2021-07-12 08:26:33 -04:00
Federico Kunze Küllmer
dcc9585595
all: bump SDK to v0.43.0-rc0
( #194 )
...
* all: bump SDK to v0.43.0-rc0
* more updates
* keys
* accounting
* update account
* ante changes
* readonly
* readonly build
* minor changes from self review
* fixes
* evm debug
* custom config & rosetta
* fix
2021-06-29 13:02:21 -04:00
Thomas Nguy
bd89830d64
tests: fix script ( #43 )
2021-05-25 04:46:10 -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
5a3d514ba0
conflicts
2021-04-17 12:00:07 +02: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
Daniel Choi
cb96bc4ea3
Pending ( #571 )
...
* add PendingBlockNumber -1
* increase block times
* update bn
* get pending balance
* additional logic to check for pending state
* add multiple balance query
* pending state for getTransactionCount
* fix lint
* add getBlockTransactionCountByNumber code - commented
* cleanup test
* GetBlockTransactionCountByNumber
* cleanup
* getBlockByNumber
* GetTransactionByBlockNumberAndIndex
* conform to namespace changes
* exportable FormatBlock method
* eth_getTransactionByHash
* eth_getTransactionByBlockNumberAndIndex
* pending nonce
* set nonce for pending and check for invalid
* WIP: doCall
* add pending tx test
* cleanup + refactor
* push first tests and init pending
* pending changes (#600 )
* cleanup
* updates
* more fixes
* lint
* update call and send
* comments and minor changes
* add pending tests into sep package
* fix latest case for eth_GetBlockTransactionCountByNumber
* fix repeating null transactions in queue
* remove repeated structs
* latestblock case
* revert init script back
* fix to exportable method
* automate pending tests; add make cmd
* move and comment out pending call test
* fix some golint
* fix unlock issue
* wip: linter stringer fix?
* stringer lint
* set arr instead of append
* instantiate with length
* sep if statement
* edit pendingblocknumber note
* switch statement
* fix and update tests
* move tests-pending into tests dir
* remove commented test
* revert to appending pendingtx
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* require no err
* rename var
* check result for eth_sendTransaction
* update changelog
* update
* Update tests/utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update tests/tests-pending/rpc_pending_test.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* changelog
* remove redundant check
Co-authored-by: noot <elizabethjbinks@gmail.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-12-15 19:52:09 +00:00
Federico Kunze
a924b20091
update chain-id format ( #542 )
...
* chain_id.go
* rpc changes
* update scripts
* additional test
* changelog
* fix tests
* update script
* rpc updates
* validate testnet command chain-id
* validate rest server chain-id
* fix lint
* rpc updates
* changelog
* comment simulations
2020-09-24 14:50:47 -03:00
Justin Thompson
4344dc10c7
change photon to aphoton ( #476 )
...
* change photon to aphoton
* fix test
* photon docs
* update doc
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-08-31 12:40:53 -04:00
wellplay
98610e4999
fix ethermintcli->keys add algo flag defValue ( #466 )
...
* fix ethermintcli->keys add algo flag defValue
* fix documentation and scripts
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-25 05:06:47 -04:00
Federico Kunze
a243f43fe2
crypto: add keyring supported algorithms ( #439 )
...
* add keyring supported algorithms
* lint
* minor updates
* use eth_secp256k1 as the default signing algo
* add flag
* derivation func
* refactor
* rename keys amino registration
* fix keys
* address comments from review
2020-08-11 11:01:15 -04:00
Justin Thompson
bcca24f752
change binary name ( #431 )
2020-08-05 11:17:50 -04:00
Federico Kunze
375a7a074d
local testnet command ( #378 )
...
* evm: fix non-determinism
* fixes
* typo
* fix tests
* local testnet command
* fix testnet cmd (#383 )
fix export-eth-key
generate eth type account in genesis.json file
* fixes
* update docker
* minor changes
* fix build-docker-local-ethermint
* fix dockerfile
* update Makefile
* update denoms
* update genesis file
* update makefile
* fix docker-compose.yml images
* fix localnet execution (#398 )
* finish documentation
* changelog and comment rpc tests workflow
* update codecov
* update testnet docs
* fix docker-compose execution
* update docs
* fix errors and make testnet work (#403 )
* fix errors and make testnet work
* Update Dockerfile
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* wip - fix db
* fixes emintd nodes and syncs nodes
* starts daemon and rpc server in bg
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
* update entrypoint and docs
* update logs
* try fix rpc
* build docker image
* Update Dockerfile
Co-authored-by: Holechain <nrgh@foxmail.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Daniel Choi <choidanielw@gmail.com>
2020-07-31 17:42:04 -04:00
noot
cc6b5d04f2
fix rpc-test action ( #402 )
2020-07-23 15:38:47 -04:00
thomasmodeneis
5417b4bb54
migrate build to Travis #258 ( #259 )
...
* add travis file
* update lint so it reports properly
* disable circleci
* separate test structure into Verify deps & Lint, Unit Tests, Race Tests, Integration Tests
* fix path issue now evident on ci build err
* fixed golangci version to latest stable
* Upgrade ci lint to go script and avoid cache issues #268
* fix lint issues #268
* bump go version for travis build to match go.mod version recently updated with Cosmos SDK upgrade
* add panic for err edge cases on os.Stat
* increase timeout to 10m since its failing on jenkins
* bump GOLANGCI_VERSION to 1.23.8 in order to try avoiding some weird errors on CI
2020-04-29 22:38:57 +02:00
thomasmodeneis
729e93f8a8
Automated Tests for RPC endpoints #253 ( #257 )
...
* add RPC integration script that run all tests for ethermint rpc endpoints,
updated tester_test.go to rpc_test.go and moved it to package tests
2020-04-21 21:37:10 +02:00