Commit Graph

1650 Commits

Author SHA1 Message Date
0xmuralik
121567ca0b delete old migration files 2023-03-16 10:51:09 +05:30
0xmuralik
050cfa2836 Merge branch 'main' of github.com:cerc-io/laconicd into murali/update-fork 2023-03-16 10:45:59 +05:30
Murali Krishna Komatireddy
763dab712f
fix lint (#101)
* sdkerrors.Wrap

* sdkerrors.Wrap

* upgrade dependenices
2023-03-15 11:22:35 -04:00
0xmuralik
1249aecd20 update go-getter 2023-03-15 11:44:38 +05:30
0xmuralik
d10890d16c upgrade net package to v0.7 2023-03-15 11:39:38 +05:30
0xmuralik
5bc407d549 fix flake8 2023-03-14 13:13:38 +05:30
0xmuralik
d3011819c6 errortypes.Wrap 2023-03-14 13:07:30 +05:30
0xmuralik
7d4ff9950d sdkerros.wrap 2023-03-14 13:04:52 +05:30
0xmuralik
80d15ffd1f ignore semgrep file 2023-03-14 12:46:27 +05:30
0xmuralik
c7de0ed8eb try semgrep ignore 2023-03-14 12:38:04 +05:30
0xmuralik
07b51ba53d fix lint 2023-03-14 12:24:02 +05:30
0xmuralik
e7c45e9755 try disable linters 2023-03-14 12:04:33 +05:30
0xmuralik
c43c58e2f5 fix markdown lint 2023-03-14 11:54:00 +05:30
0xmuralik
2032ddd365 try disable linters 2023-03-14 11:47:37 +05:30
0xmuralik
247403f165 yaml fix lint 2023-03-14 11:38:11 +05:30
0xmuralik
2bfcf3e271 Revert "fix lint js"
This reverts commit 3e22bc9316.
2023-03-14 11:26:56 +05:30
0xmuralik
cebf673ca7 disable hadolint 2023-03-14 11:23:48 +05:30
Murali Krishna Komatireddy
42fdc97c1c
replace CIDFromJSONBytes (#97)
* replace fn

* fix unit test CID

* rename func
2023-03-14 11:21:23 +05:30
0xmuralik
3e22bc9316 fix lint js 2023-03-14 11:18:42 +05:30
0xmuralik
db034c2e43 fix lint 2023-03-13 16:56:29 +05:30
0xmuralik
ae81ff9c57 disable docker and bash lint 2023-03-13 16:46:29 +05:30
0xmuralik
761d656295 fix lint 2023-03-13 15:42:04 +05:30
0xmuralik
e5a3b065e4 fix lint 2023-03-13 15:39:26 +05:30
0xmuralik
810ac5abb7 fix lint 2023-03-13 15:01:19 +05:30
0xmuralik
f8b3a67a54 resolve all 2023-03-13 14:19:35 +05:30
0xmuralik
76922d2c6f update from fork 2023-03-13 12:34:10 +05:30
0xmuralik
c7be5e0dc9 Merge branch 'main' of github.com:cerc-io/laconicd into murali/update-fork 2023-03-13 10:23:02 +05:30
iszubok
5f6a9f56bb
Merge pull request #98 from cerc-io/update-validator-doc-v0.8.0
update validator doc for v0.8.0 and laconic_81337-6
2023-03-10 08:49:01 +02:00
Ivan Zubok
71c15cd2eb update validator doc for v0.8.0 and laconic_81337-6 2023-03-10 06:35:33 +00:00
Michael
c227a38e9a
tests must be run against different chain configurations (#91)
* tests must be run against different chain configurations

* compose args order matters

* x bit not set on auction tests shell script

* always run docker compose down... possibly to avoid insufficient funds error after a failed run

* add arg to docker compose down for auction and nameservice-expiry

* switch to main branch
2023-02-10 14:44:27 -05:00
Zach
15c9ade06d
Merge pull request #90 from cerc-io/Delete-security.md
Delete SECURITY.md
2023-02-06 08:30:58 -05:00
A. F. Dudley
4b318822d9
Delete SECURITY.md 2023-02-04 19:00:17 +04:00
Michael
c61f268329
run all tests (#89)
* run all tests

* run all tests

* bad env arg passing... done through docker compose environment now

* auction nameservice tests branch of sdk

* only run nameservice test

* documentation did not match script

* run all
2023-02-02 17:00:42 -05:00
Michael
facd64a14b
All test stuff (#88)
* first pass use tests/sdk-tests/run-tests.sh in github action

* - -> _

* diagnostic env step

* diagnostic env step

* diagnostic env step does not support cwd

* checkout not preserved between actions

* ./ missing

* start built containers

* missing unmarshalling of content bytes before encoding and generation of CID

* unchecked error complaint from linter

* golang linting is really picky

* utils/json test for comparing known, but deprecated method to new implementation

* try curl (retval 0) instead of wget (retval 8) for 404 that is returned

* missing curl for health check

* use feature branch for laconic-sdk... UNDO THIS LATER

* checkout is done from inside of container, rather than copied in from filesystem. checking out dev branch for now

* docker network inspect for diagnostic

* docker network inspect for diagnostic missing arg

* listen on 0.0.0.0 specfically

* trying localhost

* try host mode network

* host mode breaks name resolution of containers

* manual service check in laconicd container for diagnostic

* revert ListenAndServe

* sleep and docker logs... appears endpoint is not coming up maybe?

* disable fail_ci on codecov error... it is unstable

* turn codecov back to fail on error true to avoid invisible failure.

* Cleanup for whitespace and require.NoError in test

* new json util test, turning off codecov fails CI, and gitignore for test artifacts
2023-01-30 16:59:13 -05:00
Tomas Guerra
768e30798e
chore(release): update changelog (#1641) 2023-01-26 19:43:35 +01:00
MalteHerrmann
48a97f144e
adjust year to 2023 for v0.21.0-rc2 release (#1630) 2023-01-23 20:29:57 +01:00
MalteHerrmann
366274b5fa
minor improvement to changelog (#1629) 2023-01-23 21:22:16 +02:00
mergify[bot]
44486cc632
fix(evm): revert v4 migration changes (#1625) (#1628)
* fix(evm): revert v4 migration changes

* add check for chainID

* fix: renamed vars to avoid duplicate proto

* test

* fix: set default extraEIPs to nil

* fix: updated tests

Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
(cherry picked from commit 9bfa1ffe686b559ab3ee2b42a18e304cd1b7f43d)

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2023-01-23 19:11:05 +00:00
mergify[bot]
4f48176298
refactor(params): store all params under one key in evm module (backport #1617) (#1626)
* refactor(params): store all params under one key in evm module (#1617)

* refactor(params): store all params under one key in evm module

* refactor(params): add changelog entry

* refactor(params): update based on review comments. Remove params getter functions

* refactor(params): refactor params store key

* refactor(params): remove unnecessary store keys

* refactor(params): add paramSetPairs for backwards compatibility

* Update CHANGELOG.md

* refactor(params): add license to params_legacy file

* Apply suggestions from code review

* fix(evm): handle RC1 params during migration (#1624)

* fix(evm): handle RC1 params during migration

* migration

* fix: test case updated for RC1

* v5 migration

* tests

* tests pt2

* comment

* execute make proto-all

Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>

* Apply suggestions from code review

* rm dup vars

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
(cherry picked from commit f07b14f1c409a6b738a0fadb50c9ba47d56cb821)

# Conflicts:
#	CHANGELOG.md

* update changelog

Co-authored-by: Tomas Guerra <54514587+GAtom22@users.noreply.github.com>
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
2023-01-23 20:01:28 +01:00
mergify[bot]
00b0d4411f
tests(evm): add benchmark tests setup for params (#1623) (#1627)
* tests: add benchmark tests setup

* fix: localized benchmark tests to keeper

* update benchmark

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
(cherry picked from commit 9305788d885ed16df9ece06daef4193ecd9df1f5)

Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
2023-01-23 18:40:27 +00:00
mergify[bot]
64e80be8ee
support customize db opener in StartCmd (backport #1615) (#1622)
* support customize db opener in `StartCmd` (#1615)

* support customize db opener in `StartCmd`

* Update CHANGELOG.md

* pass  to dbOpener, so we can control different options through cli flags

* add comments

(cherry picked from commit f1337aa378e70f5ff9c4c4e676450505efbfa682)

# Conflicts:
#	CHANGELOG.md

* conflicts

Co-authored-by: yihuang <huang@crypto.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2023-01-20 17:36:23 +01:00
mergify[bot]
949674e511
fix(rpc): align fee history (backport #1611) (#1620)
* fix(rpc): align fee history (#1611)

* update nix

* add next fee in fee history

* fix test

* add change doc

* height + 1 for next fee

* cross check baseFeePerGas len

* Update tests/integration_tests/test_fee_history.py

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>

* fix oldestBlock & align earliest input as eth

* update doc

* update nix

* isort test_fee_history.py

* fix test

* align rpc res as eth

* add cross check

* add baseFeePerGas len check

* add oldestBlock check

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
(cherry picked from commit 47fdfd3d8318358c2578b610bc35bc8c1ebb131e)

# Conflicts:
#	CHANGELOG.md

* address merge conflicts

Co-authored-by: mmsqe <mavis@crypto.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
2023-01-20 16:49:30 +01:00
mergify[bot]
c1c25b1818
fix(rpc): bind default json-rpc listen address to localhost (backport #1613) (#1621)
* fix(rpc): bind default json-rpc listen address to localhost (#1613)

* update nix

* bind default json-rpc to 127.0.0.1

* add change doc

* Update CHANGELOG.md

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>
(cherry picked from commit 3587015b27625bc6c0a002142db0a4dfdc9ecf59)

# Conflicts:
#	CHANGELOG.md

* address merge conflicts

Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: MalteHerrmann <malte@evmos.org>
2023-01-20 16:48:07 +01:00
iszubok
6945792aea
Merge pull request #84 from cerc-io/0-7-0-upgrade-guide
v0.6.0 -> v0.7.0 upgrade guide
2023-01-20 09:25:25 +02:00
Ivan Zubok
5af22471a8 review changes 2023-01-18 18:50:22 +00:00
Ivan Zubok
5e7a890adb 0.6.0 -> 0.7.0 upgrade guide 2023-01-18 17:19:15 +00:00
Vladislav Varadinov
9f2e21fa90
release: v0.21.0-rc1 changelog (#1606)
* changelog: added rc-1 changelog entry

* fix: typo fix rc1
2023-01-13 12:15:59 +01:00
Vladislav Varadinov
4f51f1a9ee
chore: update changelog (#1605)
* fix: updated Changelog

* fix: removed linking
2023-01-13 12:46:00 +02:00
dependabot[bot]
1f2a0efcd5
build(deps): bump bufbuild/buf-setup-action from 1.11.0 to 1.12.0 (#1604)
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](https://github.com/bufbuild/buf-setup-action/compare/v1.11.0...v1.12.0)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 12:26:16 +02:00
mmsqe
5f7ee9bfad
fix: avoid duplicate register proto type in evm & feemarket (#1586)
* update dep

* make proto-all

* avoid duplicate register proto type in evm

* set KeyTable

* update from version to v.19.x which support submit-proposal

* test AvailableExtraEIPs

* keep grpc query compatible with version before migrate

* fix duplicate register & migrate in feemarket

* update nix

* support typed event for bloom & txLog

* partial revert typed ethereumTx

* Revert "partial revert typed ethereumTx"

This reverts commit 314bb288f385b79f6fff6badff79cd790b74a27e.

* Revert "support typed event for bloom & txLog"

This reverts commit 287d3aec30a951a7cece40a0c310858997850a3d.

Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
2023-01-12 10:52:55 +02:00