Commit Graph

1198 Commits

Author SHA1 Message Date
Sai Kumar
92791d5f9d WIP: trying to migrate auth handlers to middlewares 2022-04-20 17:20:55 +05:30
92f07873f4 chore: replace with wrn with crn 2022-04-20 13:19:07 +05:30
7f70108a4a nameservice: implement processing record and authority expiry 2022-04-19 15:51:37 +05:30
8477b3d9cb Implement float, boolean and reference types for attributes keyValueInput 2022-04-19 08:58:10 +05:30
f7623b26f9 nameservice: return names with records query 2022-04-18 14:44:32 +05:30
d762ce98b3 nameservice: queryRecords filter by attributes 2022-04-13 17:33:42 +05:30
8f5449f397 auction: change params for auction module test 2022-04-12 11:39:50 +05:30
Sai Kumar
d377665800 fix: fix the params init 2022-04-11 18:00:11 +05:30
Sai Kumar
8cd1189e8c fix: fix the eth keys register 2022-04-11 15:50:05 +05:30
Sai Kumar
a0e2858d4f WIP: upgrade cosmos-sdk from 0.45 to SMT 0.46 2022-04-11 13:39:39 +05:30
2b8b18d659 fix: return nil response for gql queries 2022-04-08 18:02:18 +05:30
555934b799 nameservice: change Record message types for chiba-clonk-client 2022-04-08 13:03:58 +05:30
Sai Kumar
39b742874c
Update genesis-validators.md 2022-04-06 10:21:37 +05:30
Sai Kumar
2a6383ed99
Update genesis-validators.md 2022-04-06 10:18:56 +05:30
Ian Norden
8513dc1ffe
Merge pull request #30 from vulcanize/sai/docs_for_testnet
docs: add docs for testnet
2022-04-05 21:28:40 -05:00
Sai Kumar
a1ab3e9c23 chore: update staking amount for genesis validator 2022-04-06 07:55:41 +05:30
Sai Kumar
75ae6efb5f Merge branch 'sai/docs_for_testnet' of github.com:vulcanize/chiba-clonk into sai/docs_for_testnet 2022-04-06 07:47:17 +05:30
Sai Kumar
4b0940deeb chore: update docs for the token distributon 2022-04-06 07:47:02 +05:30
Sai Kumar
df6dce0e3a
Update README.md 2022-04-06 07:29:03 +05:30
Sai Kumar
a4fc953e1a chore : update the docs 2022-04-06 07:26:51 +05:30
Sai Kumar
dd114a939f docs: add docs for testnet 2022-04-06 06:58:21 +05:30
Ian Norden
24e0a75673
Merge pull request #29 from vulcanize/sai/rename_ethermint_chibaclonk
refactor: rename `ethermint` to `chiba-clonk`
2022-04-05 19:09:15 -05:00
Sai Kumar
56bd697701 fix : fix the contract testing 2022-04-05 21:22:51 +05:30
Sai Kumar
4aef5ff22a Merge branch 'main' into sai/rename_ethermint_chibaclonk 2022-04-05 21:02:33 +05:30
Sai Kumar
548f2a7b92 chore: rename the ethermint to chibaclonk
1. rename `ethermint` to `chiba-clonk`

2. fix the `make localnet-start`
2022-04-05 21:00:20 +05:30
nikugogoi
401e351080
fix: gql query lookupAuthorities and bond module messages (#25) 2022-04-05 19:23:49 +05:30
Ian Norden
96393bfc36
Merge pull request #24 from vulcanize/sai/migrate_dxns_modules_to_ethermint_v0.12.2
feat:  add dxns modules to ethermint v0.12.2
2022-04-05 07:53:38 -05:00
Sai Kumar
e90b21bc8e migrate: add dxns module
1. add bond,auction, nameserivce module
2. update to v0.12.2 ethermint version
3. fix the test cases
4. add gql server
2022-04-05 12:39:27 +05:30
Federico Kunze Küllmer
4ddc8afd18
changelog: v0.12.2 (#1022)
* changelog: v0.12.2

* fix
2022-03-30 19:16:37 +02:00
Federico Kunze Küllmer
d19e38833c
changelog: v0.12.1 (#1019)
* evm: update empty hash check for storage state (#1016)

* v0.12.1: changelog
2022-03-29 15:38:22 +02:00
Federico Kunze Küllmer
4687710908 release: v0.12.0 changelog 2022-03-24 09:03:50 +01:00
yihuang
70d52948da
fix: eth_newPendingTransactionFilter doesn't return ethereum tx hash (#1012)
* Problem: eth_newPendingTransactionFilter don't return correct tx hash

Closes: #1011
Solution:
- use eth tx hash rather than tendermint one

* changelog

* remove copied TODO comment and ignore err result of Notify

* add e2e test

* fix ws client in e2e test

* fix test

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-24 07:56:59 +00:00
Sai Kumar
a6e0210375
Merge pull request #21 from tharsis/main
update: update the `main` branch with `release 0.11.0` of ethermint
2022-03-24 13:09:31 +05:30
dependabot[bot]
42b5e443da
build(deps): bump google.golang.org/protobuf from 1.27.1 to 1.28.0 (#1013)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.27.1 to 1.28.0.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.27.1...v1.28.0)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  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>
2022-03-22 11:52:20 +01:00
yihuang
bde62e2d31
cleanup an unused const (#1009) 2022-03-22 10:24:26 +01:00
Snyk bot
9807d7c6de
fix: Dockerfile to reduce vulnerabilities (#1005)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-2426331
- https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-2426331

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-21 13:23:39 +00:00
WilliamXieCrypto
01bc2ec170
fix: Update the JSON-RPC to correct the return information. (#1006)
* fix: Update the JSON-RPC to correct the return information.

* Update CHANGELOG.md

* update: move the tests to integration_test.go

* refactor the tests and use table tests instead

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-21 11:40:24 +00:00
dependabot[bot]
b4ce7cac60
build(deps): bump actions/cache from 2.1.7 to 3 (#1008)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 11:45:52 +01:00
yihuang
8bcdb2c0e5
make MaxTxGasWanted configurable (#1004) 2022-03-21 10:01:21 +01:00
yihuang
93a57bc330
feemarket: migration (#1002)
* increase feemarket's consensus version and add migration handler

Closes: #1001

* unit test

* fix linter
2022-03-21 08:27:22 +01:00
yihuang
edf456985b
fix: set an upper bound to gasWanted to prevent DoS attack (#991)
Closes: #989

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-16 11:01:19 +00:00
dependabot[bot]
889ff2b8ec
build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 (#999)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  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>
2022-03-16 11:53:36 +01:00
dependabot[bot]
575c8e7183
build(deps): bump github.com/cosmos/ibc-go/v3 from 3.0.0-rc2 to 3.0.0 (#998)
Bumps [github.com/cosmos/ibc-go/v3](https://github.com/cosmos/ibc-go) from 3.0.0-rc2 to 3.0.0.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/v3.0.0/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v3.0.0-rc2...v3.0.0)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v3
  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>
2022-03-16 10:20:49 +00:00
crypto-facs
5360730d42
add enable unsafe cors flag (#995) 2022-03-15 20:59:31 +01:00
yihuang
49afc0f90d
fix: server should always use local rpc client (#988)
Closes: #987
Solution:
- use local rpc clint if json-rpc is enabled.

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-15 11:28:14 +01:00
dependabot[bot]
6b88b26a40
build(deps): bump gaurav-nelson/github-action-markdown-link-check (#994)
Bumps [gaurav-nelson/github-action-markdown-link-check](https://github.com/gaurav-nelson/github-action-markdown-link-check) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/gaurav-nelson/github-action-markdown-link-check/releases)
- [Commits](https://github.com/gaurav-nelson/github-action-markdown-link-check/compare/1.0.13...1.0.14)

---
updated-dependencies:
- dependency-name: gaurav-nelson/github-action-markdown-link-check
  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>
2022-03-15 11:27:37 +01:00
Loredana Cirstea
d04787e97f
eth_feeHistory - fix reward calculation from MsgEthereumTx (#990)
* eth_feeHistory - fix reward calculation from MsgEthereumTx

Problem:
- rewards calculation based on percentiles took into consideration the tendermint tx count instead of `MsgEthereumTx` count.
- `sorter := make(sortGasAndReward, tendermintTxCount)` creates an array of `{0 <nil>}` values.
The `nil` value from the `reward` attribute was never rewritten for tendermint Tx without any `MsgEthereumTx`

Fixes:
- return early if there are 0 `MsgEthereumTx`
- use the `MsgEthereumTx` count to calculate rewards

* Add change log
2022-03-15 08:11:31 +01:00
dependabot[bot]
50e093a6d2
build(deps): bump github.com/cosmos/ibc-go/v3 from 3.0.0-rc1 to 3.0.0-rc2 (#984)
* build(deps): bump github.com/cosmos/ibc-go/v3

Bumps [github.com/cosmos/ibc-go/v3](https://github.com/cosmos/ibc-go) from 3.0.0-rc1 to 3.0.0-rc2.
- [Release notes](https://github.com/cosmos/ibc-go/releases)
- [Changelog](https://github.com/cosmos/ibc-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/cosmos/ibc-go/compare/v3.0.0-rc1...v3.0.0-rc2)

---
updated-dependencies:
- dependency-name: github.com/cosmos/ibc-go/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* fix

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <federico.kunze94@gmail.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2022-03-11 10:31:16 +00:00
dependabot[bot]
ef202505d1
build(deps): bump github.com/spf13/cobra from 1.3.0 to 1.4.0 (#983)
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.3.0 to 1.4.0.
- [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.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
  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>
2022-03-11 11:22:24 +01:00
yihuang
dbe9f705cd
rpc: add configurable timeouts to http server (#979)
* Add configurable timeouts to http server

Closes: #963

* add flags

* changelog

* fix toml
2022-03-09 08:31:51 +01:00