Releases: oasisprotocol/oasis-web3-gateway
Releases · oasisprotocol/oasis-web3-gateway
Emerald Web3 Gateway 1.2.0
Upgrade note
This upgrade contains a fix for log indicies. When upgrading from previous versions, a database migration will be run automatically to fix the past indexed logs, which will delay the startup of the gateway (the migration took around 10 minutes in internal tests on full testnet and mainnet states). No manual upgrade steps are required.
Changelog
New Features
- 6c4c5b5: feat(Makefile): use latest tag for emerald-web3-gateway version (@matevz)
- 6e6f341: feat(docker): add emerald-dev docker image (@matevz)
- 21b3724: feat: implement EIP-1898 (@badangrycloud)
- 1a8a16f: feat: implement custom migrator (@ptrus)
Bug fixes
- 6124328: fix(ci): rename OASIS_EMERALD_* env vars to EMERALD_* (@matevz)
- 9312a8e: fix(tests): Add more gas checks (estimate, limit, price, remainder) (@matevz)
- 13b3c50: fix(tests): Unify GasLimit and GasPrice over tests (@matevz)
- 285bc27: fix: log index should be position in the block (@ptrus)
Dependencies updates
- aad3e21: deps(ci): bump actions/setup-go from 2.1.5 to 2.2.0 (@dependabot[bot])
- d5f4456: deps(ci): bump actions/setup-python from 2.3.1 to 2.3.2 (@dependabot[bot])
- 8be7b08: deps(go): bump github.com/uptrace/bun/dialect/pgdialect (@dependabot[bot])
- a8adc4f: deps(go): bump github.com/uptrace/bun/driver/pgdriver (@dependabot[bot])
- e342a7b: deps(go): bump google.golang.org/grpc from 1.43.0 to 1.44.0 (@dependabot[bot])
- 4db78e2: deps: Bump emerald-paratime to 6.1.0-rc1 and oasis-core to 21.3.8 (@matevz)
- 97598b3: deps: Bump emerald-paratime to 6.2.0-rc1 and oasis-core to 21.3.9 (@ptrus)
Other changes
- f3fc67f: other(docs): add cors to default config (@ptrus)
- 76a9b6a: other(docs): whitelist all domains in example config (@ptrus)
- 1d96473: other(tests): add a test for inserting duplicate blocks (@ptrus)
Full Changelog: v1.1.0...v1.2.0
Running the gateway
Emerald Web3 Gateway 1.1.0
This is a backwards compatible bugfix release of the Emerald Web3 Gateway. However, if you wish to apply the fixes to already indexed blocks, a full reindex needs to be done.
Changelog
Bug fixes
- 7619e30: fix(indexer): ignore duplicate failed transactions (@ptrus)
- 680d464: fix(indexer): prune rounds in a transaction (@ptrus)
- 44c41ca: fix(indexer): update last indexed round in a transaction (@ptrus)
Other changes
- 4096b81: other(docs): add documentation for truncating the db (@ptrus)
- cf5c405: other: enable groups in release changelog (@ptrus)
Full Changelog: v1.0.0...v1.1.0
Running the gateway
Emerald Web3 Gateway 1.0.0
This is the initial release of the Emerald Web3 Gateway, full changelog can be seen below:
Changelog
- 83943be: Conflict resolution (@anonymousGiga)
- 0a6bf73: QueryLastIndexedRound: don't ignore error (@ptrus)
- 4b97830: README: add build, test and running instructions (@ptrus)
- fe89431: README: code coverage badge (@ptrus)
- 375528b: RPC server (@lesterli)
- cc1351b: Update Oasis Core version in README (@kostko)
- 0295305: add BlockHash for TransactionRef and update API (@SzeChuanChilliSauce)
- 1de099d: add BlockNumber (@anonymousGiga)
- e5fa687: add ConvertToOutBlock (@anonymousGiga)
- b40ab53: add QuerylastRetainedRound in indexer (@anonymousGiga)
- a1edea8: add codeowners (@ptrus)
- ba98000: add comment (@anonymousGiga)
- bbbc88d: add comments and optimize. (@SzeChuanChilliSauce)
- af855ab: add context. (@SzeChuanChilliSauce)
- 7ee214b: add contract code testdata for contract creation (@synote)
- 33eb8e2: add database indexes. (@SzeChuanChilliSauce)
- 87d8d88: add e2e tests for erc20 contract (@synote)
- 3828012: add eth getbalance api of oasis evm (@synote)
- 449930b: add eth_chainId rpc from network config (@synote)
- cceecdd: add function for backend (@anonymousGiga)
- aefb233: add generateEthBlock for indexer (@anonymousGiga)
- 7848938: add indexer (@anonymousGiga)
- 9f6012e: add indexer (@anonymousGiga)
- 76ed8e6: add main entry for gateway rpc service (@synote)
- 3ca0048: add pruning for indexer (@anonymousGiga)
- e8fb482: add pruning for indexer (@anonymousGiga)
- ed7a642: add rpc api of the eth module (@synote)
- c7b0f5d: add runtime-id flag (@pro-wh)
- 4c929eb: add sleep in indexer (@anonymousGiga)
- 1ca312a: add some rpc methods (@lesterli)
- 2fcee73: add subscribe filter tests (@ptrus)
- d1c06b6: add task in indexer (@anonymousGiga)
- 43fc129: add task in indexer (@anonymousGiga)
- 8b2f490: add test for fix-issue131 (@anonymousGiga)
- 62839e4: add test for getBlockByNumber and getBlockByHash (@anonymousGiga)
- 1c7e9b9: add tests for contract call (@synote)
- bb26e40: add tests for getBalance rpc (@synote)
- 08e6875: add txpool endpoint (@ptrus)
- 8b452af: api/SendRawTransaction: propagate CheckTx errors (@ptrus)
- 8e92b27: api/getLogs: use FilterCriteria which implements UnmarshalJSON (@ptrus)
- 7b1396f: assign connect timeout and remove sslmode (@SzeChuanChilliSauce)
- 98004b6: bump oasis-sdk and emerald (@ptrus)
- b55feb5: ci: Add basic CI (currently failing) (@kostko)
- 0a6c368: ci: bump actions/setup-go from 2.1.4 to 2.1.5 (@dependabot[bot])
- 907368b: config: enable loading config from env variables (@ptrus)
- 1dd3367: config: use viper for unmarshal and add log configuration (@ptrus)
- 89b9fac: configure max_open_conns. (@SzeChuanChilliSauce)
- ec19348: db test case (@SzeChuanChilliSauce)
- fa09cb5: db test case for ethereum transaction (@SzeChuanChilliSauce)
- d3c43a6: db test case. (@SzeChuanChilliSauce)
- 06e9773: db: add support for migrations (@ptrus)
- 1f9823e: db: implement Delete for Storage (@SzeChuanChilliSauce)
- dd158cf: db: implement Update interface. (@SzeChuanChilliSauce)
- 12d04b0: db: update test case. (@SzeChuanChilliSauce)
- 7c8ecf5: decode contract address from callresult in getTransactionReceipt (@synote)
- 3e2f307: decode ethereum transaction (@SzeChuanChilliSauce)
- add916e: decode from for EthTransaction (@SzeChuanChilliSauce)
- b510408: define configuration file and initialize (@SzeChuanChilliSauce)
- 137522e: define postgres db and initialize (@SzeChuanChilliSauce)
- 7b3448a: define server and initialize (@SzeChuanChilliSauce)
- 746f59b: define store and query interface (@SzeChuanChilliSauce)
- 12f4af6: delete duplicate code (@anonymousGiga)
- ed46068: e2e tests for rpc getTransactionCount (@synote)
- 8acd9db: e2e tests from ethereum sendRawTransaction (@synote)
- 9edd2fb: enable configuration via config.yml file (@ptrus)
- b64d3c3: estimateGas: append dummy signer and set ethereum caller address (@ptrus)
- 1cec638: eth/api: don't return errors if block or tx doesn't exist (@ptrus)
- 70d8d69: eth/get_Logs: filter by addresses and topics (@ptrus)
- c61de39: eth_GetTransactionReceipt: return null instead of empty address (@ptrus)
- 909e19e: eth_call: propagate error (@ptrus)
- 0d68b26: feat: add gitlint (@ptrus)
- 96129d1: feat: automate releaes using goreleaser (@ptrus)
- bef7419: feat: rename to emerald-web3-gateway (@ptrus)
- a57e0c7: feat: version information (@ptrus)
- f7f071e: fix (@SzeChuanChilliSauce)
- 3c3e80c: fix (@SzeChuanChilliSauce)
- 3703316: fix (@anonymousGiga)
- 15b94b7: fix (@anonymousGiga)
- a6d36b5: fix (@anonymousGiga)
- 8097f28: fix (@anonymousGiga)
- cf914e5: fix (@anonymousGiga)
- 5864d66: fix (@anonymousGiga)
- d6886ac: fix (@anonymousGiga)
- 032c5e4: fix TestEth_GetTransactionByHash (@anonymousGiga)
- ac31da4: fix bug (@anonymousGiga)
- 383a145: fix compile error. (@SzeChuanChilliSauce)
- 2b60566: fix conflicts (@SzeChuanChilliSauce)
- 4267d71: fix db test case. (@SzeChuanChilliSauce)
- 556ba02: fix error (@SzeChuanChilliSauce)
- 252d579: fix error (@SzeChuanChilliSauce)
- 85c6916: fix error (@SzeChuanChilliSauce)
- 1b70dc5: fix error (@SzeChuanChilliSauce)
- bcaf3ee: fix error (@SzeChuanChilliSauce)
- bf54eca: fix error (@SzeChuanChilliSauce)
- d8a7274: fix error (@anonymousGiga)
- 8f7d175: fix error (@anonymousGiga)
- 780b167: fix error and linter. (@SzeChuanChilliSauce)
- 0478c97: fix error cased by pr103 (@anonymousGiga)
- 0970212: fix error in pr98 (@anonymousGiga)
- bb57f37: fix error in tests (@anonymousGiga)
- 5869bb5: fix error in upsertSingle (@anonymousGiga)
- 45e3418: fix error: Call (@lesterli)
- 825d855: fix eth_call crash when some fields of call args not specified (@synote)
- 80d85b7: fix getReceipts (@anonymousGiga)
- 962a510: fix issue 41,42 (@anonymousGiga)
- 811a4ad: fix issue131 (@anonymousGiga)
- a3be884: fix issue55 (@anonymousGiga)
- db10f8a: fix issue69 (@anonymousGiga)
- 7d3f852: fix linter. (@SzeChuanChilliSauce)
- e6c7bd2: fix linter. (@SzeChuanChilliSauce)
- c03685b: fix linter. (@SzeChuanChilliSauce)
- 428abb4: fix linter. (@SzeChuanChilliSauce)
- 70ae741: fix linter. (@SzeChuanChilliSauce)
- 572a31c...