vyzo
3710768910
add TODO for WaitForMessage to use the index
2023-03-16 17:45:16 +02:00
vyzo
ef2f2b0f89
reword funny comment
2023-03-16 17:43:56 +02:00
vyzo
9c087cc52c
second error variable name to avoid confusing they yushie.
2023-03-16 17:42:09 +02:00
vyzo
1e7f5c6a1e
shut down the index if there is an error during head processing
2023-03-16 17:41:06 +02:00
vyzo
ff22a46253
complain if head change processing is building backlog
2023-03-16 17:38:46 +02:00
vyzo
90c4763e00
fix typos
2023-03-16 17:33:12 +02:00
vyzo
8bceaadda8
chain errors in searchForIndexedMsg
2023-03-16 17:32:06 +02:00
vyzo
91fccc421a
add ON CONFLICT REPLACE clause in messages
2023-03-16 17:25:20 +02:00
vyzo
1676d51484
shed: expand homedir in repo path for msgindex tools
2023-03-16 17:17:26 +02:00
vyzo
5ade40cbac
increase coalesce delays for test to deflake on CI
2023-03-13 17:27:12 +02:00
vyzo
6deec4c5f4
lint
2023-03-13 17:26:20 +02:00
vyzo
06f93861bc
make gen
2023-03-13 17:00:16 +02:00
vyzo
cafa1eaba4
fix test for CI
...
test files are run individually...
2023-03-13 16:56:51 +02:00
vyzo
27dc4951eb
lotus-shed tools for msgindex
2023-03-13 16:51:21 +02:00
vyzo
47646cbd69
add optimization TODO comment
2023-03-13 15:19:07 +02:00
vyzo
5113c72b3a
make gen
2023-03-13 15:09:11 +02:00
vyzo
1970792445
fix bug in searchForIndexedMsg
...
Need to use and return the execution tipset
2023-03-13 14:56:00 +02:00
vyzo
4b1a405002
basic msgindex itest
2023-03-13 14:55:26 +02:00
vyzo
05cb2428c1
add confidence check for indexed message epoch
2023-03-13 12:33:19 +02:00
vyzo
0bf6a333b9
more gen
2023-03-13 12:24:35 +02:00
vyzo
5e011d536b
enhance comment about lookup cid semantics
2023-03-13 12:14:30 +02:00
vyzo
0a5618d406
make gen
2023-03-13 12:10:36 +02:00
vyzo
db8b593c9b
make MsgIndex configurable, disabled by default.
2023-03-13 12:01:04 +02:00
vyzo
3c945e9e3c
no need to return error from DummyMsgIndex DI constructor
2023-03-13 12:00:48 +02:00
vyzo
a11032b10a
adjust coalescer delays
2023-03-13 11:44:10 +02:00
vyzo
bda7ef52da
log rollback errors
2023-03-13 11:41:46 +02:00
vyzo
b90cfff0aa
wire in lifecycle context
2023-03-13 10:42:48 +02:00
vyzo
5461548b7e
fix comment typo
2023-03-13 05:57:26 +02:00
vyzo
4a20c9b60f
cosmetics
2023-03-13 05:54:32 +02:00
vyzo
e7448b1bb5
fix tests
2023-03-13 05:51:33 +02:00
vyzo
df6dfdf8a9
refactor database
...
- drop the execution index; we don't need it
- it is inclusion tipset
- use MessagesForTipset
- hoist db sql stuffs on top for clarity
- add index for tipset on messages
2023-03-13 05:51:24 +02:00
vyzo
88d7a4e610
more lint
2023-03-12 16:13:05 +02:00
vyzo
3b765a30d3
dummy index for itests
2023-03-12 16:02:51 +02:00
vyzo
1415391988
lint
...
lint
lint
2023-03-12 15:50:10 +02:00
vyzo
0077fa2a98
make gen
2023-03-12 15:30:05 +02:00
vyzo
171734ea31
hook the index into the rest of lotus
2023-03-12 15:25:07 +02:00
vyzo
0d274df977
use the transaction Luke!
2023-03-12 13:35:50 +02:00
vyzo
d9ca214309
test test test
2023-03-12 13:21:03 +02:00
vyzo
bf9ae23c98
implement Close
2023-03-11 22:09:31 +02:00
vyzo
b5dd4e31ac
implement reconciliation
2023-03-11 21:26:11 +02:00
vyzo
d97c6b2f69
more implementation
2023-03-11 19:11:08 +02:00
vyzo
7fcf228bc4
better logger name
2023-03-11 18:23:05 +02:00
vyzo
3649ae373b
implementation details
2023-03-11 18:21:16 +02:00
vyzo
9144f9cea7
abstract ChainStore interface
2023-03-11 17:56:23 +02:00
vyzo
eab728c4e7
we don't need the block
2023-03-11 17:25:57 +02:00
vyzo
cc83a7cd35
use tipset cid instead of key for posterity.
2023-03-11 17:12:28 +02:00
vyzo
a0e95ebe97
scaffolding
2023-03-11 16:50:29 +02:00
Aayush Rajasekaran
9d994dac9e
Merge pull request #10440 from filecoin-project/steb/reject-masked-id
...
feat: eth API: reject masked ID addresses embedded in f410f payloads
2023-03-10 14:34:15 -05:00
Aayush Rajasekaran
816ca59d6d
Merge pull request #10443 from filecoin-project/steb/evm-bytecode-cmd
...
feat: cli: Add an EVM command to fetch a contract's bytecode
2023-03-10 14:34:01 -05:00
Steven Allen
f7603f6c13
feat: eth API: reject masked ID addresses embedded in f410f payloads
...
We'll never get an actor/account deployed to one of these
addresses (although we might get a placeholder). However, converting
such an address to an f4 address is definitely wrong.
2023-03-10 10:57:39 -08:00