Aayush
dd91857bf6
Merge branch 'master' into feat/fvm
2022-02-28 22:17:20 -05:00
Łukasz Magiera
949a046432
Merge pull request #7928 from filecoin-project/bloxico/basic_wallet_tests
...
misc: wallet: wallet tests with annotations for system test matrix
2022-02-25 19:29:50 +00:00
Aayush Rajasekaran
64b13afee5
Merge pull request #8163 from filecoin-project/steb/fix-inclusion-price-at-upgrade
...
Fix the epoch used for gas in the message pool & validation
2022-02-24 18:06:08 -05:00
zenground0
77bf46d018
Tiny clean up
2022-02-24 15:46:15 -07:00
Aayush
2ba34add2a
stmgr: call needs to flush VM before fetching nonce
2022-02-24 12:19:59 -05:00
Aayush
d58babe32c
fix: set FilVested when constructing VmOpts
2022-02-24 12:04:05 -05:00
Aayush
b6682f4bbe
feat: use either lotus vm or fvm consistently
2022-02-24 12:04:05 -05:00
Aayush
9bb936b75c
chore: refactor: rename NewVM to NewLotusVM
2022-02-24 12:04:05 -05:00
Steven Allen
420c5fb568
fvm: time message execution
2022-02-23 19:23:20 +00:00
Steven Allen
aad376296e
fvm: set gas costs to nil for implicit messages
...
This is what the lotus VM does.
2022-02-23 19:22:47 +00:00
Geoff Stuart
22760f0922
Handle pre-v7 case more gracefully
2022-02-23 12:02:26 -05:00
TheMenko
5ece3d4c10
Merge branch 'master' into bloxico/basic_wallet_tests
...
merge master to update the branch
2022-02-23 15:48:53 +01:00
Geoff Stuart
23147378a3
Added cli command for vrk to send RemoveVerifiedClientDataCap message
2022-02-22 22:07:20 -05:00
Geoff Stuart
375d9fdfc9
Added cli command for verifier to sing RemoveDataCapProposal
2022-02-22 22:07:20 -05:00
ZenGround0
6123aa2ed4
Merge pull request #8048 from filecoin-project/cli-chain-tests
...
test: cli: chain category unit tests
2022-02-21 19:12:18 -07:00
Steven Allen
1234fcfd4f
fix: mempool: check messages against the next block's height
...
Previously, we checked message gas/validity with the previous block's
height. This doesn't affect consensus, but will help us avoid adding
messages to the message pool that shouldn't be there.
2022-02-21 18:13:07 +00:00
Steven Allen
04bc4405c7
fix: chain: check against the inclusion price at the correct height
...
We need to use the height at which the messages will be executed, not
the height of the previous tipset. This brings the gas checking for
validation with the gas we actually _charge_ during message execution.
This only matters for the Calico upgrade (the only upgrade where we
changed the gas prices).
This change could potentially cause a block at that height to be
rejected if it includes a message with insufficient gas for inclusion.
However, that _should_ have shown up as a miner penalty when we executed
the blocks in the following tipset. Given that there were no miner
penalties at 265199-265201, this change should be "safe".
2022-02-21 18:12:51 +00:00
Aayush
6e1d5c5733
Merge branch 'master' into feat/fvm
2022-02-18 13:33:06 -05:00
Aayush
5be125ad1a
address review feedback
2022-02-18 13:21:17 -05:00
Aayush
393479ea69
Fvm: impl VerifyConsensusFault
2022-02-18 13:21:01 -05:00
Darko Brdareski
6feae1993d
Fix PR comments.
...
Refactor random addr generation to use a rand seed.
Remove unused lines in tests.
2022-02-17 14:24:42 +01:00
Aayush
afc29ed445
feat: tweak v15 migration params
2022-02-16 13:04:48 -05:00
Łukasz Magiera
7efed6617c
Merge pull request #8029 from filecoin-project/feat/splistore-cold-object-reification-redux
...
splistore cold object reification redux
2022-02-14 19:04:02 +01:00
Aayush
ee6989970f
Merge branch 'master' into feat/fvm
2022-02-13 14:25:39 -05:00
Nikola Divic
0e8a709f92
Merge branch 'master' of https://github.com/filecoin-project/lotus into bloxico/mempool_tests
2022-02-12 17:11:24 +01:00
Nikola Divic
7d2810abbc
test: don't parse err messages in messagepool_test
...
Per @vyzo's feedback, we shouldn't parse err messages but figure out
a way to do this smarter. I updated the code just check for error
existence and @brdji should figure out what to do next.
2022-02-09 19:54:45 +01:00
Nikola Divic
e797ec138d
test: chain getmessage cli command
...
I also added some helper functions for mocking in the types/mock pkg
2022-02-09 17:29:29 +01:00
Rob Quist
026c51033c
perf: chain: Make drand logs in daemon less noisy ( #7955 )
...
Makes logs less noisy
2022-02-09 13:34:55 +01:00
Steven Allen
e8bdf8171b
chore: cleanup fil vested calculation
...
1. Move lock, loading, etc into GetFilVested.
2. Call it directly when creating the FVM.
3. Detach GetFilLocked from state manager.
Really, this just makes it a bit easier to reason about this code.
2022-02-08 20:54:53 -08:00
Steven Allen
e8d771fcac
pass only fil-vested into FVM
2022-02-08 15:26:20 -08:00
Steven Allen
32b3618c74
fvm: feed in correct "base" circulating supply
2022-02-08 13:20:03 -08:00
Steven Allen
279cdd0760
fvm: fix implicit messages and message inclusion gas charging
2022-02-07 10:33:57 -08:00
Steven Allen
fc74a6c8ca
update fvm/ffi bindings
2022-02-04 12:46:15 -08:00
Aayush Rajasekaran
2a669b95fb
:Hook up the FVM
2022-02-04 12:46:15 -08:00
vyzo
9d92b6eb92
correctly wrap hotview in the context for compute_state
2022-02-04 16:57:08 +02:00
vyzo
73c741f20c
reify cold objects on block validation/application
2022-02-04 16:19:28 +02:00
Darko Brdareski
008fbbd652
Add unit and integration tests for mempool
2022-02-02 17:08:50 +01:00
Darko Brdareski
e51ce5c508
Merge remote-tracking branch 'upstream/master' into bloxico/system-test-matrix
2022-01-27 10:57:56 +01:00
Łukasz Magiera
176ecd4c3b
mpool: Cache state nonces
2022-01-26 15:39:58 +01:00
Aayush Rajasekaran
71c6d05902
chore: chain: fix log
2022-01-24 11:18:01 -05:00
vyzo
0870f48b5c
fix mocknet.New invocation
2022-01-20 11:36:11 +02:00
Aayush
9ec1abf880
:Fix: create a new VM for each epoch
2022-01-17 16:28:22 -05:00
Aayush Rajasekaran
6f8d00310b
Merge branch 'master' into ntwk-butterfly-snapnet
2022-01-12 19:12:02 -05:00
Aayush Rajasekaran
083c5b003c
Address review
2022-01-12 12:57:34 -05:00
Aayush Rajasekaran
7559e4311e
Support faster Get, retry flushes on error
2022-01-11 20:30:34 -05:00
Aayush Rajasekaran
a41b4acec3
Use channels to trigger flushes in a dedicated goroutine
2022-01-11 19:44:56 -05:00
Aayush Rajasekaran
5ff6148444
implement stubs
2022-01-11 18:03:37 -05:00
Jennifer Wang
cd8d3a0c88
Update the ntwk v15 name to OhSnap
2022-01-11 17:41:20 -05:00
Aayush Rajasekaran
25768a291e
Implement an autobatcher
2022-01-11 17:20:10 -05:00
Aayush Rajasekaran
8aabe1b488
Fast migration for v15
2022-01-11 17:19:38 -05:00