yihuang
c8ddb503c1
ci: add goreleaser workflow ( #295 )
...
Closes #305
patch panicwrap to fix build issue
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2021-07-16 09:30:34 +00:00
Prajjwol Gautam
20c42dc10d
build: make build the default target when no argument provided ( #233 )
2021-07-08 04:07:26 -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
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
Federico Kunze
6000ab2098
chore: un-fork from cosmos ( #166 )
...
* chore: un-fork from cosmos
* rm LoC
2021-06-22 06:49:18 -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
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
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
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
4a9d63356e
cleanup proto
2021-04-19 09:10:57 +02:00
Federico Kunze
5a3d514ba0
conflicts
2021-04-17 12:00:07 +02:00
Federico Kunze
ed313c9482
stargate: proto files ( #679 )
...
* stargate: proto files
* third party proto files
* third party proto files
* add annotations
* rm proto-gen-any
* rm script any
2021-01-07 18:45:32 -03: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
ef1bef16e5
rpc: protocol version ( #575 )
...
* evm: protocol version
* changelog
* version
* fix
* support latest version only
2020-12-08 20:51:26 +01:00
Daniel Choi
26b3af7a26
fix erroring of docker-build ( #598 )
2020-11-16 10:13:51 +01:00
Federico Kunze
291dfcafbf
makefile: install yarn ( #526 )
...
* makefile: install yarn
* gitignore
2020-09-23 11:28:38 -03:00
Justin Thompson
22788e8ce2
docs: remove npm ( #500 )
...
* change to yarn
* missing entities
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-09-22 05:09:11 -03:00
noot
248bcc3008
add test-solidity to github actions, create test script ( #510 )
2020-09-18 12:50:08 -04:00
Daniel Choi
5a29e808d3
deploy network and contract ( #395 )
...
* deploy network and contract
* update binary names
* install deps
* contract script
* use POST req to sent tx
* add github actions
* fix lint
* update makefile
* go mod verify and tidy
* define amount on gentx
* gitignore
* install solcjs
* install tools, clean up, fix deployment
* include make contract-tools
* use node in actions env
* fix binary path
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-09-08 15:25:16 -07:00
Federico Kunze
792c1ff756
evm: params ( #458 )
...
* evm: params
* setup
* bump commit
* fixes
* increase gas usage
* tests
* evm denom param
* more config updates
* update genesis
* update ante handler
* csdb param test
* more tests and fixes
* update statedb.Copy
* lint
* additional test
* fix importer tests
* fix AnteHandler test
* minor update
* revert
* undo gas update
* stringer test
* changelog
* fix csdb index error (#493 )
* attempt to fix
* cleanup
* add idx check
* update csdb.Copy
* update default hash
* update querier
* update rpc tests
* fix estimate gas test
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
Co-authored-by: noot <elizabethjbinks@gmail.com>
2020-09-02 15:41:05 -04:00
Daniel Choi
6fa5fafb12
actions: sim, rc-sim ( #463 )
...
* actions: sim, rc-sim
* Update .github/workflows/release-sims.yml
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update .github/workflows/sims.yml
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* bump dep
* use development
* update Makefile
* update Makefile PHONY
* fix makefile for tests
* attempt fix
* change branch
* include development branch
* make runsim
* undo
* fix binary typo
* WIP: test - hard code binary
* try fix
* move vars
* fix
* try go get again
* fix
* comments; skip-sims
* final update; skip-sims
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-08-21 05:01:19 -04:00
MHXW
c0b6b85eae
fix Makefile ( #448 )
...
* fix makefile error caused by DETECTED_OS
* add `clean testnet` and `reset testnet`
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-19 11:01:38 -04:00
Justin Thompson
defcad2bcd
fix docker build ( #437 )
...
* fix docker build
* docs
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-10 14:10:33 -06:00
Justin Thompson
bcca24f752
change binary name ( #431 )
2020-08-05 11:17:50 -04:00
Federico Kunze
1428cd6a5c
fix app version ( #427 )
2020-08-05 02:21:14 +02:00
Justin Thompson
50a632580d
windows test-net ( #422 )
...
* windows test-net
* Update Makefile
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-04 14:05:18 -06: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
Federico Kunze
8789a04998
actions: fix test-importer workflow ( #410 )
...
* actions: fix test-importer workflow
* update gitignore
2020-07-24 14:54:25 -04:00
Federico Kunze
d4fe9b234c
docs: vuepress setup and section titles ( #311 )
...
* vuepress
* docs: vuepress setup and TODOs
* doc scripts
* update Makefile and gitignore
* more docs updates
* gitignore
* metamask instructions
* update image
* updates
* updates from call
* docs: vuepress config and home.vue (#350 )
* update uncles return (#337 )
* x/evm: fix EndBlock consensus failure (#334 )
* add test for sending tx w/ 21000 gas
* improve rpc transfer test
* use ctx in EndBlock
* UpdateAccounts and ClearStateObjects with passed in context
* log ethereum address on error
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
* update Ethermint color variables
* add header and footer logo
* tweak config.js
* WIP custom homepage.vue
* add layout to docs/README
* update color variables
* add eth logo black and white
* tweak docs/README
* update logo and logo-bw svg
* bump 1.0.167
* homepage → home
* add icon-code, icon-rocket
* layout: home, remove configurable frontmatter: label, read, use
* clean up config.js
* bump 1.0.168
* fix missing comma from resolving conflicts
* update sidebar, config nav, path
* remove left whitespace on the header and footer logos
* clean up home.vue, docs/README
* update ethermint forum url in footer.links
* comment out custom true to enable searchbar in subpages
* remove external link icon for Guides
* comments, revert custom true
* clean up config.js, add specifications icon
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
* final touches
Co-authored-by: Cyrus Goh <hello@lovincyrus.com>
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
2020-07-02 04:22:45 -04:00
Federico Kunze
edf4357176
build: github actions ( #346 )
...
* add workflows
* fix
* fix lint
* rpc tests
* build and format
* fix build errors
* remove dontcover
* update importer test
* more fixes
* lint
* split importer test
* fix
* remove tmp dir
* revert
* comment test import
2020-06-26 18:26:55 -04:00
Federico Kunze
427e96c1de
evm: various fixes ( #319 )
...
* evm: use prefix stores, move SetBlockBloom to EndBlock, bug fixes
* add logs to genesis state
* log tests
* commit and finalize on InitGenesis
* validate TransactionLogs
* changelog
* fix test-import
* fix lint
* add more tests
2020-06-04 06:40:21 -04:00
Federico Kunze
c7d89e3d56
rpc: fix eth_getProof ( #286 )
2020-05-12 15:12:52 -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
Federico Kunze
7c5e0afb09
SDK modules simulations ( #269 )
...
* SDK modules simulations
* changelog
* changelog
2020-04-29 11:48:44 -04:00
Federico Kunze
4d609b2a22
bump Cosmos SDK version to v0.38.2 ( #183 )
...
* evm: move Keeper and Querier to /keeper package
* keeper: update keeper_test.go
* fix format
* evm: use aliased types
* bump SDK version to v0.38.1
* app: updates from new version
* errors: switch sdk.Error -> error
* errors: switch sdk.Error -> error. Continuation
* more fixes
* update app/
* update keys and client pkgs
* build
* fix tests
* lint
* minor changes
* changelog
* address @austinbell comments
* Fix keyring usage in rpc API and CLI
* fix keyring
* break line
* Misc cleanup (#188 )
* evm: move Begin and EndBlock to abci.go
* evm: use expected keeper interfaces
* app: use EthermintApp for integration and unit test setup
* evm: remove count type; update codec
* go mod verify
* evm: rename msgs for consistency
* evm: events
* minor cleanup
* lint
* ante: update tests
* changelog
* nolint
* evm: update statedb to create ethermint Account instead of BaseAccount
* fix importer test
* address @austinabell comments
* update README
* changelog
* evm: update codec
* fix event sender
* store logs in keeper after transition (#210 )
* add some comments
* begin log handler test
* update TransitionCSDB to return ReturnData
* use rlp for result data encode/decode
* update tests
* implement SetBlockLogs
* implement GetBlockLogs
* test log set/get
* update keeper get/set logs to use hash as key
* fix test
* move logsKey to csdb
* attempt to fix test
* attempt to fix test
* attempt to fix test
* lint
* lint
* lint
* save logs after handling msg
* update k.Logs
* cleanup
* remove unused
* fix issues
* comment out handler test
* address comments
* lint
* fix handler test
* address comments
* use amino
* lint
* address comments
* merge
* fix encoding bug
* minor fix
* rpc: error handling
* rpc: simulate only returns gasConsumed
* rpc: error ineffassign
* go: bump version to 1.14 and SDK version to latest master
* rpc: fix simulation return value
* breaking changes from SDK
* sdk: breaking changes; build
* tests: fixes
* minor fix
* proto: ethermint types attempt
* proto: define EthAccount proto type and extend sdk std.Codec
* evm: fix panic on handler test
* evm: minor state object changes
* cleanup
* tests: update test-importer
* fix pubkey registration
* lint
* cleanup
* more test checks for importer
* minor change
* codec fixes
* rm init func
* fix importer test build
* fix marshaling for TxDecoder
* use amino codec for evm
* fix marshaling for SimulationResponse
* use jsonpb for unmarshaling
* fix method handler crashed
* return err on VerifySig
* switch stateObject balance to sdk.Int
* fixes to codec and encoding
* cleanup
* set tmhash -> ethhash in state transition
* add tmhash->ethereumhash to csdb.GetLogs
* attempt to fix tests
* update GetLogs to switch with Has
* ante panic
* diff changes
* update SetLogs
* evm/cli: use ethermint codec
* use LengthPrefixed for encoding
* add check for nil *big.Int
* add balance to UpdateAccounts
* fix previous balance
* fix balance bug
* prevent panic on make test-import
Co-authored-by: austinabell <austinabell8@gmail.com>
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
Co-authored-by: noot <elizabethjbinks@gmail.com>
2020-04-22 15:26:01 -04: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
Dustin Brickwood
fc57cabcab
Linted Repo ( #136 )
...
* Linted
* Updated lint to include config file
* Linted repo
* Updated make command
* made requested changes
* added no lint
2019-11-01 10:26:53 -05:00
Austin Abell
160e82b2ad
Implement eth_pendingTransactions, bump sdk version ( #124 )
...
* Update sdk version, implement pending txs, fix nonce check
* Bump cached dependencies in circleCI
* bump circleci go version
* updated linter and fixed bugs relating to go version 1.13
2019-10-19 08:23:09 +09:00
David Ansermino
92dc7d9a59
Basic RPC and CLI Queries ( #77 )
...
- Adds ethermint query command (`emintcli query ethermint <query>`)
- Supports block number, storage, code, balance lookups
- Implements RPC API methods `eth_blockNumber`, `eth_getStorageAt`, `eth_getBalance`, and `eth_getCode`
- Adds tester utility for RPC calls
- Adheres to go test format, but should not be run with regular suite
- Requires daemon and RPC server to be running
- Excluded from `make test`, available with `make test-rpc`
- Implemented AppModule interface and added EVM module to app
- Required for routing
- Implements `InitGenesis` (`x/evm/genesis.go`) and stubs `ExportGenesis`
- Modifies GenesisAccount to match expected format
2019-07-25 16:38:55 -04:00
Austin Abell
69333ec1b3
circleCI config and linting fixes ( #3 )
...
* Fixed circleci config and fixed linting warnings
* Updated circleCI for go version 1.12 and split jobs for build/testing
* updated go version to 1.12.5 for circleCI
* Go mod tidy dependencies
* Updated linting tools and cleared up code lint smells
* Added workflow to run build and test jobs
* Moved linting command to build workflow
* Get dependencies before linting by default
* Added go module flag to linter and increased deadline to pull packages
2019-07-02 15:36:22 -04:00
Austin Abell
18d57af55e
Switch package management to go modules ( #1 )
...
* switched go package management from dep to go modules
* Removed dep references in makefile
* Added explicit go modules flag and go mod verify to makefile
2019-06-25 15:56:54 -04:00
Aleksandr Bezobchuk
9a076e9526
Other minor updates
2018-10-24 10:23:12 -04:00
Aleksandr Bezobchuk
22eef2aa20
Add test-import to makefile
2018-10-24 08:20:59 -04:00
Aleksandr Bezobchuk
85ca203972
Upgrade geth and cleanup
2018-09-28 17:40:58 -04:00
Matthew Slipper
32504a866f
Start RPC API implementation
2018-08-21 00:12:48 -07:00
Aleksandr Bezobchuk
0cebfeb759
Merge pull request #453 : Core/State Unit Tests
2018-07-26 09:36:07 -04:00
Aleksandr Bezobchuk
e5e3d48a6d
Merge pull request #447 : Initial Application Skeleton Structure
2018-07-19 17:16:53 -04:00
Jack Zampolin
1e61b87047
Fix make tools (indentation) and update Dockerfile to reflect fixed make target
2018-07-13 13:58:22 -07:00
Jack Zampolin
b0b1c1f11d
Update make targets
2018-07-13 13:41:17 -07:00