gammazero
ca23a4406c
Do not update message info cache until after message validation
...
The sequence number used for replay detection was being updated before message validation confirmed that the message originated from the correct host. This would allow one host A to create a message with the ID of another host B that could then update the cached sequence number for B. While the message from A would fail validation and be ignored, the cached sequence number for B would get updated. This would lead to a temporary DoS for host B as its messages were incorrectly rejected as replays.
This fixes the issue by setting the cached sequence number after message validation.
2023-08-23 14:30:22 -07:00
Aayush Rajasekaran
0ff655a0a0
Merge pull request #11196 from filecoin-project/chore/update-test-vectors
...
chore: test-vectors: update
2023-08-22 16:59:01 -04:00
Steven Allen
d581f58896
chore: test-vectors: update
...
Update the test-vectors repo to the "last" release. This release deletes
most of the code (that depended on an ancient version of lotus anyways)
as we now rely on the "fvm" test vectors for all but historical tests.
2023-08-22 13:17:46 -07:00
Aayush Rajasekaran
62f52c672c
Merge pull request #11194 from filecoin-project/steb/fix-tagged-releases
...
fix: build: use tagged releases
2023-08-22 15:37:15 -04:00
Steven Allen
eae61009b0
fix: build: use existing upstream branches
...
Unfortunately, we can't _yet_ merge the schema branch. But we will in a
moment. But this at least fixes go-state-types
These dependencies were based on branches which no longer exist.
2023-08-22 11:56:37 -07:00
Aayush Rajasekaran
7491956197
Merge pull request #11167 from filecoin-project/asr/randomness
...
feat: refactor: return randomness base to FVM without hashing
2023-08-22 12:15:24 -04:00
Aayush
2f113e58ca
fix tvx
2023-08-22 12:03:26 -04:00
Aayush
7e6ed09628
refactor: move vm.Rand to rand.Rand
2023-08-22 11:34:28 -04:00
Aayush
c90faf0754
fixup conformance tests to incorporate randomness changes
2023-08-22 10:08:38 -04:00
Łukasz Magiera
5281a6d307
Merge pull request #11188 from filecoin-project/shed-msg-add-exec-trace
...
feat: shed: Add exec traces to `lotus-shed msg`
2023-08-22 13:50:29 +02:00
Łukasz Magiera
5f5c6a08a4
Merge pull request #11191 from filecoin-project/nonsense/remove-trace-goroutine
...
fix: markets/dagstore: remove trace goroutine for dagstore wrapper
2023-08-22 12:30:13 +02:00
Phi
825064669d
Continue if msg not found on-chain
...
Continue if msg not found on-chain
2023-08-22 10:56:50 +02:00
Aayush
034f6cf832
wip: 2 more randomness fetching APIs
2023-08-21 16:32:27 -04:00
Aayush
91ee13b461
fix: refactor rand_replay
2023-08-21 16:28:59 -04:00
Aayush
e5fbba7958
Refactor: Rand: Return randomness digest to VM
2023-08-21 15:44:49 -04:00
Aayush
98a82d3dfe
Refactor: Rand: Rename DrawRandomness to DrawRandomnessFromBase
2023-08-21 15:03:46 -04:00
Aayush
05ac9453cd
Refactor: Rand: return randomness base without hashing
2023-08-21 15:03:46 -04:00
Andrew Jackson (Ajax)
cb7231cb8a
Merge pull request #11177 from filecoin-project/sbansal/unseal-background
...
fix: sealing: Run unsealing in the background for better ux
2023-08-21 11:37:59 -05:00
Anton Evangelatov
9028df409c
fix: markets/dagstore: remove trace goroutine for dagstore wrapper
2023-08-21 17:55:45 +02:00
Łukasz Magiera
1fe7493897
Merge pull request #11183 from LexLuthr/lexluthr/ddo-gateway
...
#11181 : feat: Lotus Gateway: add allocation and claim related GET APIs to gateway
2023-08-21 16:06:15 +02:00
Phi
e1ed24ddd0
Put exec-trace behind flag
...
Put exec-trace behind flag
2023-08-21 13:55:49 +02:00
Łukasz Magiera
92f31ee0be
Merge pull request #11187 from filecoin-project/fix/lotus-wallet-build
...
fix: build: Allow lotus-wallet to be built independently
2023-08-21 13:39:31 +02:00
Łukasz Magiera
2ee879d1ec
Merge pull request #11190 from filecoin-project/fix/wallet-sigint
...
fix: wallet: Make import handle SIGINT/SIGTERM
2023-08-21 13:38:23 +02:00
Phi
5edc7dcdb3
Consider SIGTERM as well
...
Consider SIGTERM as well
2023-08-21 10:37:42 +02:00
Phi
c1fd48a14b
Make lotus wallet import
respect sigint
...
Make `lotus wallet import` respect sigint
2023-08-21 09:10:47 +02:00
Phi
539a524271
Make exec-trace human readable
...
Make exec-trace human readable
2023-08-20 20:11:27 +02:00
Phi
51be40291a
Add BUILD_DEPS to lotus-wallet
...
Add BUILD_DEPS to lotus-wallet
2023-08-20 19:58:33 +02:00
Phi
c1231125e9
Print receipt
...
Print receipt
2023-08-20 19:54:17 +02:00
Phi
925498f938
Add exec-trace and receipt
...
Add exec-trace and receipt to the lotus-shed msg command
2023-08-20 10:06:00 +02:00
LexLuthr
bcc8b9d02f
add allocation and claim APIs
2023-08-18 11:28:01 +04:00
Aayush Rajasekaran
cbbb76b2f0
Merge pull request #11169 from filecoin-project/asr/client-can-allocate
...
feat: test: Test that verified clients can directly transfer datacap, creating allocations
2023-08-17 09:51:12 -04:00
Aayush
e8020e8f4e
feat: test: Test that verified clients can directly transfer datacap, creating allocations
2023-08-17 09:40:29 -04:00
Łukasz Magiera
23cd5832c7
Merge pull request #11180 from filecoin-project/macSealTest
...
mac seal test
2023-08-17 15:10:37 +02:00
Andrew Jackson (Ajax)
76bca6c392
mac seal test
2023-08-17 07:30:19 -05:00
Shrenuj Bansal
9e69576410
log unseal failures
2023-08-16 17:40:27 -04:00
Shrenuj Bansal
38350b8d8a
Run unsealing in the background for better ux
2023-08-16 17:20:39 -04:00
Łukasz Magiera
80928586d1
Merge pull request #11140 from filecoin-project/fix/wallet-balance-cmd
...
fix: cli: Only display `warning` if behind sync
2023-08-16 15:57:34 +02:00
Łukasz Magiera
22f490132e
Merge pull request #11141 from filecoin-project/fix/worker-IPv6
...
fix: worker: Support IPv6 formatted API-keys
2023-08-16 15:55:05 +02:00
Łukasz Magiera
c46aea6a36
Merge pull request #11164 from filecoin-project/go-libp2p-v029
...
update go-libp2p to v0.29.2
2023-08-16 12:15:52 +02:00
Aayush Rajasekaran
b226a7dbff
Merge pull request #11159 from filecoin-project/asr/fix-frc-0051
...
fix: chainstore: do not get stuck in unhappy equivocation cases
2023-08-15 13:58:26 -04:00
Łukasz Magiera
33182967eb
Merge pull request #11142 from filecoin-project/feat/act-precommv2
...
sealing: Switch to calling PreCommitSectorBatch2
2023-08-14 21:31:24 +02:00
Łukasz Magiera
b11fba3561
itests: Port deadline-toggling itest to nv20
2023-08-14 20:25:36 +02:00
Marten Seemann
2f0fbe26f8
update go-libp2p to v0.29.2
2023-08-14 18:46:28 +07:00
Aayush
12e076e9ea
fix: chainstore: do not get stuck in unhappy equivocation cases
2023-08-11 17:32:39 -04:00
Aayush Rajasekaran
7b43f90a3b
Merge pull request #11158 from filecoin-project/asr/miner-refactors
...
feat: miner: 2 minor refactors
2023-08-11 13:20:25 -04:00
Aayush
3566e96b55
refactor: pass more specialized params to computeTicket
2023-08-11 09:52:26 -04:00
Aayush
20e831b9ea
refactor: drop unused param from IsRoundWinner
2023-08-11 09:48:09 -04:00
Łukasz Magiera
2c7c4ee845
Merge pull request #11155 from filecoin-project/asr/deflake
...
feat: deflake: TestGetBlockByNumber
2023-08-11 12:52:59 +02:00
Aayush Rajasekaran
49010a9b9a
Merge pull request #11104 from filecoin-project/asr/frc-0051
...
feat: chainstore: FRC-0051: Remove all equivocated blocks from tipsets
2023-08-09 21:50:10 -04:00
Aayush
69f3580ca2
add more test cases covering chainstore equivocation
2023-08-09 21:00:50 -04:00