vyzo
91fccc421a
add ON CONFLICT REPLACE clause in messages
2023-03-16 17:25:20 +02:00
vyzo
5ade40cbac
increase coalesce delays for test to deflake on CI
2023-03-13 17:27:12 +02:00
vyzo
47646cbd69
add optimization TODO comment
2023-03-13 15:19:07 +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
5e011d536b
enhance comment about lookup cid semantics
2023-03-13 12:14:30 +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
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
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
Steven Allen
58900a7033
feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x ( #10416 )
...
However, we're leaving the default at 1.25x for backwards compatibility, for now.
Also:
1. Actually use the configured replace fee ratio.
2. Store said ratios as percentages instead of floats. 1.25, or 1+1/(2^2),
can be represented as a float. 1.1, or 1 + 1/(2 * 5), cannot.
fixes #10415
2023-03-09 13:17:17 -08:00
Aayush Rajasekaran
b75ebcac81
Merge pull request #10423 from filecoin-project/asr/fast-index
...
feat: chain: make chain tipset fetching 1000x faster
2023-03-09 15:38:55 -05:00
Aayush
90c89288b6
feat: chain: make fetching tipset by height 1000x faster
2023-03-09 15:12:13 -05:00
Travis Person
f641139bf2
Merge pull request #10282 from filecoin-project/feat/cache-migrated-stateroot
...
feat: stmgr: cache migrated stateroots
2023-03-09 11:47:43 -08:00
Travis Person
b4e589a0f7
review comments
2023-03-09 18:54:29 +00:00
Aayush
74d94af034
fix: state: short-circuit genesis state computation
2023-03-06 15:39:28 -05:00
Aayush
4e57626e42
feat: update renew-sectors with FIP-0045 logic
2023-03-02 16:38:05 -05:00
Steven Allen
dbbcf4b2ee
feat: vm: switch to the new exec trace format ( #10372 )
...
This is now "FVM" native. Changes include:
1. Don't treat "trace" messages like off-chain messages. E.g., don't
include CIDs, versions, etc.
2. Include IPLD codecs where applicable.
3. Remove fields that aren't filled by the FVM (timing, some errors,
code locations, etc.).
2023-03-01 16:02:18 -08:00
Aayush
19f1ad2762
Merge branch 'releases' into asr/merge-release-into-master
2023-03-01 14:18:35 -05:00
Travis Person
814c146626
feat: stmgr: cache migrated stateroots
2023-03-01 16:17:34 +00:00
Steven Allen
68b401a895
fix: cli: better handle sending from EthAccount actors
...
This will make `lotus send` mostly just "do what the user wants" in this
case:
1. The user may not explicitly specify a method number.
2. Parameters are automatically cbor-encoded where applicable.
3. The method number is automatically selected based on the
recipient (CreateExternal if sent to the EAM, InvokeEVM otherwise).
2023-02-24 15:15:41 -08:00
Łukasz Magiera
ea57a1aec3
Merge remote-tracking branch 'origin/master' into hsanjuan/chain-export-range-rebased
2023-02-23 13:08:14 +01:00
Travis Person
bf2ac13609
Merge pull request #10283 from filecoin-project/feat/disable-pre-migrations
...
feat: stmgr: add env to disable premigrations
2023-02-21 09:23:13 -08:00
Travis Person
2dcaddf61d
feat: stmgr: add env to disable premigrations
...
Setting the environment variable `LOTUS_DISABLE_PRE_MIGRATIONS=1` will
discard premigrations for all upgrade.
2023-02-17 23:12:26 +00:00
Aayush Rajasekaran
1ec02c5c95
Merge pull request #10296 from filecoin-project/asr/migration-test
...
feat: shed: test the nv18 migration
2023-02-17 16:20:51 -05:00
Aayush
984b4c78cb
Merge branch 'release/v1.20.0' into asr/merge-release-into-master
2023-02-17 16:08:22 -05:00
Aayush Rajasekaran
efcdec6517
Merge pull request #10300 from filecoin-project/steb/fix-eth-nonce
...
fix: eth: return the correct nonce from EthGetTransactionCount
2023-02-17 14:45:45 -05:00
Steven Allen
a3bc65ba05
fix: eth: return the correct nonce from EthGetTransactionCount
...
EVM contracts track this number internally.
fixes https://github.com/filecoin-project/lotus/issues/10255
2023-02-17 10:51:42 -08:00
Jorropo
2d3065ae8e
chore: all: bump go-libipfs to replace go-block-format
...
Includes changes from:
- https://github.com/ipfs/go-block-format/pull/37
- https://github.com/ipfs/go-libipfs/pull/58
(cherry picked from commit f572852d06
)
2023-02-17 18:46:11 +01:00
Aayush
fab7ea6ca1
feat: shed: test the nv18 migration
2023-02-17 11:09:52 -05:00