Aayush
43d1d62fc6
Make EquivocationDelaySecs a build param
2023-09-01 15:01:22 -04:00
Aayush
668d615be6
Add comments, re-select messages if refreshing base
2023-09-01 15:01:22 -04:00
Aayush
91d2c02765
feat: miner: implement FRC-0051
2023-09-01 15:01:22 -04:00
Aayush Rajasekaran
d71d647aaf
Merge pull request #11100 from filecoin-project/traceapi
...
Add new tracing API
2023-08-30 11:34:06 -04:00
Łukasz Magiera
cf0ff92008
Merge pull request #11214 from filecoin-project/rvagg/one-and-only-one-ROOT
...
fix(client): single-root error message
2023-08-30 09:37:40 +02:00
Aayush Rajasekaran
9d9de747a9
Merge pull request #11221 from filecoin-project/ci/go1.20
...
fix: dockerfile: Bump to Go 1.20.7 image
2023-08-29 14:24:05 -04:00
Łukasz Magiera
1e8e63e39e
fix: dockerfile: Bump to Go 1.20.7 image
2023-08-29 18:58:36 +02:00
Fridrik Asmundsson
0096d521c3
fix decoding toplevel output in trace_replayBlockTransactions
2023-08-29 12:27:08 +00:00
Fridrik Asmundsson
144bbdfd3b
Added trace api as experimental feature to changelog
2023-08-29 11:26:52 +00:00
Fridrik Asmundsson
13e1b4b3df
Added todo to support native actors calling another when created
2023-08-29 10:38:21 +00:00
Rod Vagg
b6fe914748
fix(client): single-root error message
2023-08-29 14:46:39 +10:00
Fridrik Asmundsson
930e9b957c
fix lint
2023-08-28 18:47:45 +00:00
Fridrik Asmundsson
57e825901e
Update FFI
2023-08-28 17:51:47 +00:00
Fridrik Asmundsson
aef0ecf2d2
Run make gen
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ed407689e6
Parse input/output for delegate call + other smaller things
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
029a4a72b8
Address most recent comments
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
10a5480895
Decode output using top level trace
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ee3cdf0e97
Fix use filecoin addr + other small refactor
...
After changing in prev commit to use to ethereum addresses the
comparison does not make sense against builtin actors. This
fixes that by storing also the filecoin addresses in each trace
Also renamed filecoin related fields to Filecoin prefix.
Also remove requirement call to InvokeContract needed to come
from a evm actor
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
cf255127a4
Decode eth param/return values and change them to ethbytes type
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
cb5e6e0cd1
The From/To address should be in eth format
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
8d8891a431
Moved tracing types to ethtypes to address circular dependencies
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ef7bcfec06
Do not compute message index as traces should be in message execution order
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
a1b890c8c7
return wrapped errors
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
4068e0710d
Do not return interface{} from trace api methods
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ebb54bc381
fix naming lint
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
ba1ee60d1b
Refactor eth.go
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
7f99d15071
Small refactor and cleanup
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
fd69f8bbd8
Check all errors
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
abeb842d93
Address lint errors
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
392ef1beb7
Handle delegatecall
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
2c902db0e1
Handle more edge cases
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
c1eaa2f864
Translate call input/output into Solidity ABI
2023-08-28 17:48:22 +00:00
Fridrik Asmundsson
1b0f54a61b
Add new tracing API
2023-08-28 17:48:22 +00:00
Aayush Rajasekaran
c4214e23bf
Merge pull request #11206 from AnomalRoil/fix/ctxonlongops
...
fix: chain: cancel long operations upon ctx cancelation
2023-08-28 13:33:08 -04:00
Aayush Rajasekaran
a79f96a531
Merge pull request #11212 from filecoin-project/fix/master-cli-ci
...
ci: Use larger executor for cli tests
2023-08-28 10:28:50 -04:00
Łukasz Magiera
f8faa85cba
make gen
2023-08-28 16:12:14 +02:00
Łukasz Magiera
d83956aa6d
ci: Ensure params in sealer tests
2023-08-28 13:43:50 +02:00
Łukasz Magiera
4223e411b6
ci: Use larger executer for cli tests
2023-08-28 13:24:00 +02:00
Łukasz Magiera
bce5535679
Merge pull request #11182 from filecoin-project/TestSealerDLBefore
...
Take Download out of Sealer time
2023-08-25 10:27:42 +02:00
Aayush Rajasekaran
1c9344d805
Merge pull request #11202 from gammazero/fix/update-cached-message-sequence
...
fix: chain: Do not update message info cache until after message validation
2023-08-24 10:59:47 -04:00
Łukasz Magiera
ae2ae3b9ed
Merge pull request #11189 from filecoin-project/update-go-libp2p-v0300
...
update go-libp2p to v0.30.0
2023-08-24 16:15:26 +02:00
Yolan Romailler
13ade62e27
fix: cancel long operations upon ctx cancelation
2023-08-24 15:30:33 +02:00
Aayush Rajasekaran
50cd87e953
Merge pull request #11201 from filecoin-project/asr/merge-nv21
...
chore: merge feat/nv21 into master
2023-08-24 09:25:45 -04:00
Łukasz Magiera
366329b085
Merge pull request #11087 from filecoin-project/fix/pc1-retr-loop
...
fix: sealing pipeline: Fix PC1 retry loop
2023-08-24 11:08:39 +02:00
gammazero
03826aac87
fix doc check
2023-08-23 19:05:21 -07:00
gammazero
7774ca0179
Add sequence number DoS test
2023-08-23 16:53:21 -07:00
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
5bfea36a17
Merge branch 'feat/nv21' into asr/merge-nv21
2023-08-23 11:44:59 -04:00
Łukasz Magiera
882f00fbf3
sealing: retrySoftErr: Better comment on ctx handling
2023-08-23 17:29:18 +02:00
Phi-rjan
c1304dee25
Merge pull request #11176 from filecoin-project/nv-skeleton
...
chore: nv-skeleton for feat/nv21-branch
2023-08-23 09:11:26 +02:00