laconicd-deprecated/tests/integration_tests/contracts
yihuang ebc47af0bd
fix: chain-id in grpc query is not initialized without abci event (#1405)
* fix: chain-id in grpc query is not initialized without abci event

Closes: #1404

Solution:
- pass the chain-id from caller.

* Update CHANGELOG.md

* only override if input is not empty

* add comment to chain id

* pass chain-id to state transition

* Update x/evm/keeper/grpc_query.go

* Apply suggestions from code review

* fix golang lint

* update gomod2nix.toml

* fix unit tests

* update gomod2nix

* api breaking changelog

* add unit tests, and fix TraceBlock by the way

* Update CHANGELOG.md

* test --grpc-only mode in integration tests

* remove tmp var

* Update tests/integration_tests/test_grpc_only.py

* Update x/evm/keeper/grpc_query_test.go

Co-authored-by: mmsqe <tqd0800210105@gmail.com>

* fix linters

* fix nil pointer in tests

* fix conflicts

* fix conflicts

* fixes

* fix lint

* fix unit test

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mmsqe <tqd0800210105@gmail.com>
Co-authored-by: Freddy Caceres <facs95@gmail.com>
2022-11-18 13:19:09 -05:00
..
contracts fix: chain-id in grpc query is not initialized without abci event (#1405) 2022-11-18 13:19:09 -05:00
.gitignore imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
hardhat.config.ts imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
package-lock.json build(deps): bump @openzeppelin/contracts (#1281) 2022-08-19 11:18:51 +00:00
package.json imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
README.md imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00
tsconfig.json imp(tests): integration tests setup (#1196) 2022-07-27 13:27:07 +00:00

Sample Hardhat Project

This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, and a script that deploys that contract.

Try running some of the following tasks:

npx hardhat help
npx hardhat test
GAS_REPORT=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js