Federico Kunze Küllmer
9077172f8e
feat(ci): add Golang dependency vulnerability check ( #1528 )
...
* feat(ci): add Golang dependency vulnerability check
* update
* check run
* c++
2022-12-02 12:57:14 +00:00
Vladislav Varadinov
a5c927bf5b
Remove simulation checks ( #1507 )
...
* Add cli rollback command
it's useful in app-hash mismatch situation.
* Update CHANGELOG.md
* (refactor): removed old sim tests logic
* (fix): removed tests from CI
* (fix): fix test.yml
* (fix): format and lint
* (fix): fix linter issue
* (fix): fix linter issues v2
* (fix): linter
* (fix): removed sim-test references
* Applied changes from code review
Co-authored-by: HuangYi <huang@crypto.com>
2022-11-29 13:41:40 +02:00
MalteHerrmann
3752485b27
chore: Update linter and protogen configuration ( #1478 )
...
* add protolint yaml
* Update .protolint.yml with Evmos settings
* Add super-linter.yml for GH action
* Copy .markdownlint.yml settings from Evmos
* Sort proto imports
* address protolint error in all Protobuf files
* update Makefile to mirror Proto commands for Evmos
* remove unnecessary go get command in protocgen.sh when using cosmos docker image
* copy .clang-format from Evmos repo
* apply make proto-format
* Execute make proto-all after changes to config are complete
* address last linter comment
2022-11-25 11:02:20 +01:00
MalteHerrmann
f70dafde5a
chore: update proto make commands ( #1471 )
...
* Update proto make commands to use cosmos docker image and add notes for possible problems
* Apply make proto-all with new docker container
* Remove stale DOCKER_BUF variable
* Revert to using the tendermintdev/sdk-proto-gen docker image
* remove '@' in proto-lint and proto-check-breaking for consistency with other commands
* Remove unnecessary go get from protocgen.sh (only works after adding --network host to docker run)
* Add --network host to docker run for compatibility on linux
* use cosmos/proto-builder docker image for proto-format because clang-format is not installed on tendermintdev/sdk-proto-gen
* update swagger docs after recent additions to evm.proto in #1413
Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
2022-11-20 07:33:58 -05:00
MalteHerrmann
6455785c04
fix: protogen scripts were not correctly implemented ( #1466 )
...
* Delete local copy of third party proto files
* Update protocgen script and buf yaml files to mirror cosmos-sdk
* Update makefile commands for proto-gen and proto-swagger-gen to correctly use docker
* Commit changed .pb.go files after updating the protogen scripts
* Adjust grep in proto-tools-installer script to look for correct gogoproto replacement
* address reviews - remove unnecessary ignore in buf.yaml and cosmos-sdk download in the protocgen script
* remove proto-update-deps from makefile as we don't store local copies of third party protofiles anymore
* Add changelog entry
* Update protoc-swagger-gen.sh
* Remove third party queries from swagger-ui config (for now)
* fix integrations tests
* fix dead changelog links (markdown-link-check)
Co-authored-by: Freddy Caceres <facs95@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-11-17 12:35:54 +01: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
Daniel Burckhardt
87f70c3b4e
deps: bump go to v1.19 ( #1416 )
...
* deps: bump go to v1.19
* deps: add dragonberry patch repalce in go.mod
* deps: add ival bump to v0.19.4
* deps: remove unrelated version bumps to adress in differnet PR
* go mod tidy
* add changelog
* fix typo in changelog
2022-10-31 16:46:48 +00:00
yihuang
7331cd2065
feat: support dynamic app db backend flag ( #1226 )
...
* support dynamic app db backend
* address pr reviews
* add comment
* Update server/start.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-08-05 15:01:20 +02:00
yihuang
0e46b15e8d
fix: integration tests are not run in CI ( #1221 )
...
Solution:
- make it run
- add python linter job for the python codes
- fix nix expression to build ethermintd
add file diff condition
add gomod2nix check
2022-08-02 08:21:03 +02:00
crypto-facs
fd0e62a067
imp(tests): integration tests setup ( #1196 )
...
* first pass
* latest
* working tests
* github actions
* remove unnecessary change
* remove unnecessary steps
* remove unnecessary import
* remove unnecessary change
* Update .github/workflows/test.yml
Co-authored-by: yihuang <huang@crypto.com>
* update .gitignore
* update github actions
* change evm denomination
* change evm denomination
* send tests to tests folder
* Delete result
* update go version
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-07-27 13:27:07 +00:00
Daniel Burckhardt
4a66ff95d9
feemarket(specs): add hint on different gas terminology for gas in Cosmos and Ethereum ( #1165 )
2022-07-01 13:55:19 +02:00
Daniel Burckhardt
b7878fd6f1
fix goreleaser ( #1160 )
...
* impr(init.sh): remove increase block time
* bug(goreleaser): update docker image
2022-06-29 19:08:28 +02:00
Federico Kunze Küllmer
27ade5d731
deps: Go 1.18 ( #1147 )
...
* deps: Go 1.18
* changelog
* update
2022-06-24 18:16:19 +02:00
Federico Kunze Küllmer
8e2c65295f
imp(evm): rename RejectUnprotectedTx
to AllowUnprotectedTxs
( #1142 )
...
* imp(evm): rename RejectUnprotectedTx to AllowUnprotectedTxs
* changelog
2022-06-22 12:51:14 +02:00
Aditya Saravanan
8eb8e51894
fix(ci): buf makefile dependency, update semgrep workflow ( #1144 )
2022-06-22 10:28:23 +02:00
Federico Kunze Küllmer
ec8e93b319
all: rename go module to evmos/ethermint ( #1137 )
2022-06-19 11:43:41 +02:00
Adu
4ea9b6dc6d
imp, ci: address pending issues from EVM simulation ( #1063 )
...
* add note
fix note
* add TestAppStateFn TestRandomAccounts
* marshal int slice to json
* add paramschange for enableCreate and enableCall
* AppStateFn -> StateFn
* add TestDecodeStore
* update github actions to run evm simulation
* add TestParamChanges
* add TestRandomizedGenState
* use go install for runsim
* resolve conflict
* use random gasCap to estimate gas
* use estimateGas to calculate max transferableAmount
* update godoc
* TestAppStateFn -> TestStateFn
* Update x/evm/simulation/genesis.go
* comment
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
2022-05-02 15:27:43 +02:00
Adu
eaca3e09e2
fix: simulations don't generate EVM transactions ( #996 )
...
* use SimAppChainId instead of the default cosmos-sdk simulation chainid
* implement custom RandomGenesisAccounts for auth module simulation
* use customized RandomGenesisAccounts
* generate random ethereum txs operations
* use sdk.DefaultBondDenom
* implement WeightedOperations
* fix self assignment
* use customized RandomAccounts to generate accounts with ethsecp256k1 private key
* RandomAccounts generate random accounts with ethsecp256k1 private key
* implement SimulateEthSimpleTransfer
* implement SimulateEthCreateContract
* refactor and implement operationSimulateEthCallContract as future operations of SimulateEthCreateContract
* Update app/app.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update app/test_helpers.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update app/test_helpers.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* fix r.Read return only 1 result
* fix linter errors
* change SimulateContext to private
* return transferable amount immediately
* fix linter errors
* fix linter errors: append assign to different slice
* fix linter error: remove else block
* use gofumpt
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* Update x/evm/simulation/operations.go
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* fix recipient typo
* add nosec comment to escape Potential hardcoded credentials check
* add comments
* use SimAppChainID as valid chainID
* do not specify genesis.json to create random genesis state for simulation
* sub estimateGas to avoid overflow
* correct RandomGenesisAccounts comments
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* correct app/test_helpers.go comments
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* remove NewTxConfig
* implement RegisterStoreDecoder
* remove WeightMsgEthCallContract and adjust weights
* use gofmt
* update godoc
* use types.DefaultEVMDenom in evm genesis params
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* use types.DefaultEVMDenom
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
* update godoc
* Update x/evm/simulation/genesis.go
* replace evmdenom with bonddenom in AppStateFn
* fix AppStateFn
* fix lint error
* add ParamChanges for RandomizedParams
* rename app/test_helpers.go -> app/utils.go
* testing for RandomGenesisAccounts
* use cdc for marshaling
* lint
* changelog
* changelog 2
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: crypto-facs <84574577+crypto-facs@users.noreply.github.com>
Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
2022-04-19 09:50:00 +00:00
Thomas Nguy
8202a097f2
fix: lint workflow ( #1028 )
...
* fix lint workflow
* fix comment
* remove format
* change checkout with setup-go
* update comment
* add checkout
* add lint issue
* revert lint error
2022-04-05 15:00:54 +02: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
Akash Khosla
882dd4e2e3
fix: proto-gen broken env var ( #723 )
...
* fix: proto-gen broken env var
* add ethereumTx http option
Co-authored-by: Freddy Caceres <freddy.caceres@crypto.com>
2021-11-06 22:01:58 +00:00
Guillermo Paoletti
19bc44a226
ci: fix goreleaser ( #708 )
...
* testing goreleaser
* removed arm64 building instructions
* CGO changed
* ci: reverted releaser changes, back to troian/golang-cross
* using snapshot to test the release ci
* testing ci code removed
2021-10-29 15:56:09 +02:00
Tomas Tauber
1474c70719
fix: commented out importer test ( #691 )
...
* fix: commented out importer test (fixes #659 )
updated the importer test as a test suite
plus added the block export file
from https://github.com/cosmos/ethermint/blob/development/importer/blockchain
* remove a dead branch
* re-added CI check
* go 1.17
2021-10-22 12:20:23 +02:00
Yijia Su
e9ab6241db
ci: fix solidity tests ( #278 )
...
* Fix CI
* Remove verbose-log to reduce size
* update timeout
* rm deploy contract action
* Update test-helper.js
* Update workflow
* Update workflow
* fix gas estimate amount
* Update test.yml
* fix error assert issue
* ignore bad test case
* remove estimate gas test
* Change fromBlock to 1 (TEMP, Reverse Required)
* bump timeout
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2021-10-08 13:38:42 +00:00
Daniel Burckhardt
fe4ec68ccc
build: add proto-tools-installer
script to make proto-swagger-gen ( #648 )
...
* Add proto-tools-installer script to make proto-swagger-gen
* Add swagger generated files
2021-10-07 15:36:07 +02:00
Federico Kunze Küllmer
be7a711f66
build: update makefile proto ( #647 )
...
* build: update makefile proto
* updates
* revert swagger-gen
2021-10-07 13:02:31 +02:00
Federico Kunze Küllmer
aeb7e1589e
ci: update goreleaser ( #604 )
...
* ci: update goreleaser
* bump version
2021-09-29 15:58:39 +02:00
Guillermo Paoletti
1894d22609
doc: duplicated documentation removed ( #603 )
2021-09-29 10:37:10 +00:00
Federico Kunze Küllmer
d376ff9b8e
build: fix tag ( #549 )
2021-09-11 08:29:58 +00:00
Federico Kunze Küllmer
26c5eabb18
all: linter ( #532 )
...
* add additional linters
* fixes
* rm action
2021-09-05 11:03:06 +00:00
Federico Kunze Küllmer
945fa64853
deps: bump go to 1.17 ( #523 )
2021-09-03 16:54:34 +00:00
Federico Kunze Küllmer
b5288399d3
ci: liveness test ( #498 )
...
* ci: liveness test
* rm key
* makefile
* chmod
* update docs
2021-08-26 15:21:43 +00:00
Federico Kunze Küllmer
1ad9b4c1a5
evm: EIP1559 & go-ethereum related updates ( #469 )
...
* updates
* more changes
* proto updates
* tidy
* v1beta1
* update buf
* lint
* comments
* typo
2021-08-25 14:45:51 +00:00
Federico Kunze Küllmer
ea18cae9aa
docs: update swagger ( #479 )
...
* update swagger
* update
* clean
2021-08-23 13:15:55 +00:00
Federico Kunze Küllmer
0d06ade374
docs: README, contributor guidelines ( #466 )
...
* contributor guidelines
* notes
* README
2021-08-20 15:38:03 +00:00
Federico Kunze Küllmer
1b95d06c92
docs: versioning ( #455 )
...
* docs: versioning
* update label
* reorder
* try fix
* try fix 2
* try fix
* reorder steps
* add docs folder to check
* *
2021-08-18 11:09:50 +00:00
Federico Kunze Küllmer
7b50331b98
docs: config updates ( #409 )
...
* docs: more updates
* minor changes
* workflow
* yarn
* structure
* more updates
* cleanup
* additional cleanup
* docs
* interact with node
* additional guides and testnet docs
* update swagger
* update docs
* action
2021-08-09 21:21:21 +00:00
Simon Pfeifhofer
300af0df0e
build: fix docker setup ( #337 )
...
* fix: issue #310
- add ip-addresses for localnet-setup generation
- add localnet-setup folder to keep localnet-setup-artifacts
- map localnet-setup-artifacts to containers
- change start-docker.sh to pick up generated testnet artifacts
* feat: get rid of explicit ip-address-assignments for containers
* feat: get rid of docker-localnet, introduce localnet-build and localnet-show-logstream, fix localnet-unsafe-reset and localnet-clean, add comments
* fix: add --no-cache on docker build, exclude build-directory
2021-08-04 09:30:13 +00:00
Federico Kunze Küllmer
fad5424ed1
keys: fix secp256k1
key creation ( #346 )
...
* keys: fix secp256k1 key creation
* c++
2021-07-24 08:46:13 +00:00
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