Commit Graph

1827 Commits

Author SHA1 Message Date
daee09b85b update ipld-eth-db for blob hashes 2024-08-05 11:47:01 -05:00
17e84ce4cd run blob tx system tests
and skip system tests that use blob indexer
2024-08-05 11:47:01 -05:00
95beee2714 fix RPC for blob tx receipt 2024-08-05 11:43:16 -05:00
190b36bcd1 Support validator withdrawals (#265)
- Retrieves indexed withdrawal objects with blocks over RPC.
- Includes system-tests in CI workflow.
- Uses external fixturenet stack in CI tests.

Depends on
- cerc-io/ipld-eth-db#7
- cerc-io/plugeth-statediff#25

To induce and test validator withdrawals:
  - cerc-io/lighthouse#1
  - cerc-io/fixturenet-eth-stacks#19
  - cerc-io/system-tests#16

Reviewed-on: #265
2024-08-05 15:50:53 +00:00
688b5c817a Geth 1.13 (Deneb/Cancun) update (#264)
Most notable changes are the updates to the test contracts: due to https://eips.ethereum.org/EIPS/eip-6780, SELFDESTRUCT no longer destroys a contract (unless it occurs in the creating transaction), so CREATE2 can no longer redeploy contracts to the same address.

Reviewed-on: #264
2024-05-29 12:29:55 +00:00
671868aac6 262: Update test/stack-refs.txt (#263)
This updates the reference to a tag that does exist.  It also switches to the git.vdb.to repo.

Reviewed-on: #263
2023-11-14 00:34:22 +00:00
b0b61a369a Fix checksum build error. 2023-10-27 17:17:42 -05:00
4b749e8544 Update to plugeth-statediff 0.1.4 (#3)
Co-authored-by: Roy Crihfield <roy@manteia.ltd>
Reviewed-on: #3
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2023-09-30 14:37:53 +00:00
5fdd60c804 Merge pull request 'Make CI publish workflow triggered only on release' (#2) from ci-manual-publish into v5
Reviewed-on: #2
2023-09-25 22:51:28 +00:00
4bd5a774f1 Make CI publish workflow manual only 2023-09-21 15:59:42 +08:00
d2252193ec Refactor to use plugeth-statediff (#1)
Reviewed-on: #1
2023-09-21 06:55:26 +00:00
35fc6a7490
Fix typo in CI workflow (#254) 2023-09-01 01:10:40 +08:00
6470bf2f01
251: Remove uses of canonical_header_hash() and get_storage_at() fns in light of v5 schema updates. (#253)
* Remove canonical_header_hash() uses and update SQL queries for latest v5 schema.

* Remove get_storage_at() uses.
2023-08-03 14:44:58 -05:00
51c36adbea
Update dependencies for ipld-eth-db 5.0.5 and geth v1.11.6-statediff-5.0.8 (#252)
In addition to the module updates, because the new indexer code will automatically flag pre-existing blocks as non-canonical when new block is added at the same height, I had to re-order the test setup to insert non-canonical blocks first.
2023-07-31 12:43:15 -05:00
39f8b6ec79
Fix getLogs query (avoid repeated execution, separate tx, and improve performance) (#250)
* Avoid repeated queries in getLogs.

* Rewrite query for speed and simplicity.

* Make default limit 500
2023-06-16 11:49:56 -05:00
Ian Norden
60b2f5f4f3
Merge pull request #247 from cerc-io/ian_gas_price
use GasFeeCap for unmined tx GasPrice
2023-06-14 12:50:29 -05:00
i-norden
a1fbc1875b use GasFeeCap for unmined tx GasPrice 2023-06-14 11:49:57 -05:00
Ian Norden
68d6695df8
Merge pull request #246 from cerc-io/ian_bug_fix
rlp.EncodeToBytes => tx.MarshalBinary
2023-06-13 08:03:35 -05:00
i-norden
111d879d71 rlp.EncodeToBytes => MarshalBinary, in tests 2023-06-12 17:25:17 -05:00
i-norden
ac67af63e1 rlp.EncodeToBytes => tx.MarshalBinary 2023-06-12 17:18:16 -05:00
77f861dd95
Fix for getTransactionReceipt returning empty 'from' address. (#242)
* Fix for getTransactionReceipt returning empty 'from' address.

* Unify the code

* Unify the code
2023-06-12 11:37:46 -05:00
Ian Norden
50b402cfaa
Merge pull request #238 from cerc-io/roy/v5-dev
Update to geth 1.11.5-statediff-v5
2023-06-01 08:53:56 -05:00
Ian Norden
2fcb13facd
Merge pull request #240 from cerc-io/ian/v5-dev
fix: `err` overshadowing in `defer`s
2023-06-01 08:22:46 -05:00
i-norden
175c840bac fix err overshadowing in defers 2023-05-31 17:57:42 -05:00
i-norden
9cdd524bb2 fix unambiguous import 2023-05-31 17:57:25 -05:00
911b0ed5f3 try to fix flake 2023-05-29 18:56:45 +08:00
2d038eff86 fix script quoting 2023-05-28 17:52:56 +08:00
40d65598e3 update stack-orchestrator 2023-05-28 17:25:59 +08:00
240ebb6816 PR review changes 2023-05-28 15:49:25 +08:00
1fe599dd71 cleanup 2023-05-28 15:49:25 +08:00
4c814bbe15 rm old script 2023-05-28 15:49:25 +08:00
c6040dd514 move package test/ => integration/ 2023-05-28 15:49:25 +08:00
026dafcfc9 version 5.0.0 2023-05-28 15:49:25 +08:00
6eded51cf1 un-dev 2023-05-28 15:49:19 +08:00
6d7487152c Upgrade to v5 schema
Now uses:
* ipld direct_by_leaf StateDB for basic queries
* trie_by_cid StateDB for trie slice and proof queries

Also:
* vulcanize => cerc refactor
* Backend method to close dbs
* state tests are in multiple packages, to allow separate ginkgo suites
* removes gap-filler module
* integration tests and github workflows
* run stack-orchestrator for testnet
* fix various issues with tests, hardhat server, dockerfile
* fix cmd flags / env vars
* fix flaky tests and clean up code
* remove unused code, scripts
* remove outdated docs
* update version
2023-05-25 21:39:48 +08:00
i-norden
ec6707c6ab return effectiveGasPrice in GetTransactionReceipt 2023-04-14 17:33:27 +08:00
i-norden
db4bd5183e use 6c00c38cc4e1db6f7c4cecbb62fdfd540fba50d6 ver of ipld-eth-db (has new get_storage_at_by_hash func) 2023-04-14 17:33:27 +08:00
i-norden
d06bce2f1b use e62830c982d4dfc5f3c1c2b12c1754a7e9b538f1 ver of stack-orch 2023-04-14 17:33:27 +08:00
i-norden
97a4cbddc8 remove outdated custom runner; simplify unit tests action 2023-04-14 14:49:39 +08:00
i-norden
f689e60292 use go1.19 explicitly in all workflows 2023-04-14 14:49:39 +08:00
i-norden
20fa187092 bump to go 1.19 and update workflow refs 2023-04-14 14:49:39 +08:00
i-norden
b410c0876a interface fixes for v1.11.5 2023-04-14 14:49:39 +08:00
i-norden
2695cb5e0b bump kubo version 2023-04-14 14:49:39 +08:00
i-norden
9fcb21f812 bump to v4 v1.11.5 and use internal concurrent_iterator 2023-04-14 14:49:39 +08:00
Ian Norden
bf55668d10
Merge pull request #233 from cerc-io/ian/v5_dev
v5 Checkpoint
2023-03-20 07:28:58 -05:00
i-norden
bf1151d905 updated ipld-eth-db image ver 2023-03-17 15:19:36 -05:00
ea19cc8d8d Use blocks table, not header_cids, for getBlockNumber() (#232) 2023-03-17 15:17:58 -05:00
i-norden
2bd6ed9b24 use new release of ipld-eth-statedb 2023-03-16 08:24:48 -05:00
i-norden
20b787e5dc missed moving some sql into consolidated file 2023-03-14 10:04:41 -05:00
i-norden
4678b6a733 ipld-eth-statedb initialization/instantiation 2023-03-13 18:23:49 -05:00