Phi
5f3eb793ed
Move premigration to 90 minutes
...
Move premigration to 90 minutes before upgrade epoch.
2023-11-08 10:27:29 +01:00
Phi
24a714d123
Move premigration to 90 minutes
...
Move premigration to 90 minutes before upgrade epoch.
2023-11-08 08:22:15 +01:00
Andrew Jackson (Ajax)
848c20d15f
Merge branch 'master' into feat/sturdypost
2023-11-06 16:10:57 -06:00
Phi-rjan
12b30c0069
Merge pull request #11361 from filecoin-project/feat/add-mpool-metrics
...
feat: metric: export Mpool message count
2023-11-03 14:44:19 +01:00
Phi
d121760172
Record currentSize on addLocked
...
Record currentSize on addLocked
2023-11-03 08:59:01 +01:00
Aayush Rajasekaran
b7a3da4319
fix: sync: iterate over returned messages directly ( #11373 )
2023-11-02 07:57:22 +08:00
Aayush Rajasekaran
29fbfaf13d
fix: sync: iterate over returned messages directly ( #11373 )
2023-11-01 15:08:23 -07:00
Aayush Rajasekaran
ce0c1d834f
feat: chain: light-weight patch to fix calibrationnet ( #11363 )
...
* refactor: make GetEmbeddedBuiltinActorsBundle take network bundle name
* update calibnet actor bundle to v12.0.0-rc.2, but include v12.0.0-rc.1 as calibrationnet-buggy.car
* wip: calibnet unbork migration
* calibnet: add buggy miner actor CID to actorMeta
* fix incorrect buggy calibnet manifest
* make UpgradeWatermelonFixHeight a build param
* calibnet patch: check whether network is calibration from init actor state
* add sanity checks to the v12 calibnet patch upgrade
* address review
2023-10-31 18:36:05 -04:00
Aayush Rajasekaran
77b6b7ef10
feat: chain: light-weight patch to fix calibrationnet ( #11363 )
...
* refactor: make GetEmbeddedBuiltinActorsBundle take network bundle name
* update calibnet actor bundle to v12.0.0-rc.2, but include v12.0.0-rc.1 as calibrationnet-buggy.car
* wip: calibnet unbork migration
* calibnet: add buggy miner actor CID to actorMeta
* fix incorrect buggy calibnet manifest
* make UpgradeWatermelonFixHeight a build param
* calibnet patch: check whether network is calibration from init actor state
* add sanity checks to the v12 calibnet patch upgrade
* address review
2023-10-31 18:29:09 -04:00
Phi
d1b8af338e
Export Mpool-count
...
Record the current size of the mpool and export through Prometheus
2023-10-31 08:09:00 +00:00
Steven Allen
48a3076876
test: drand: switch tests to drand testnet (from devnet) ( #11359 )
...
At the request of the drand team.
2023-10-30 17:05:02 -07:00
Alejandro Criado-Pérez
b6a77dfafc
Fix/texts ( #11298 )
...
* documentation text corrections
* Text corrections in go files
* make docsgen-cli
2023-10-27 11:32:42 -07:00
Łukasz Magiera
ad9c05e30b
lpwindow: Simple adder
2023-10-25 20:58:16 +02:00
Łukasz Magiera
c9e5720f68
chain: Undo exporting TipSetKey Value
2023-10-25 10:56:56 +02:00
Ian Norden
84b07519c2
fix: api: exclude reverted events in eth_getLogs
results ( #11318 )
...
* exclude reverted events from results returned by eth_getLogs
* unit test
* update CHANGELOG.md
2023-10-24 10:05:20 -07:00
guangwu
2d8dbf5bc1
chore: slice loop replace ( #11349 )
2023-10-24 10:02:28 -07:00
Andrew Jackson (Ajax)
2bc4951d79
Merge branch 'release/v1.24.0' into release/v1.25.0
2023-10-17 10:19:51 -05:00
Aayush
5e76b05b17
Merge branch 'feat/nv21' into asr/merge-feat-nv21
2023-10-16 11:13:33 -04:00
Aayush
2a644e2c04
feat: limit PoSted partitions to 3
2023-10-11 12:41:55 -04:00
Łukasz Magiera
861134d923
mpool: Fix CapGasFee maxFee handling
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2023-10-11 16:49:00 +02:00
Aayush
00aad34194
messagepool: refactor CapGasFee logic to be cleaner
2023-10-10 11:20:26 -04:00
Andrew Jackson (Ajax)
598e9b931d
Merge branch 'feat/wdpost-adder' into wdpost-can-accept
2023-10-06 11:48:04 -05:00
Shrenuj Bansal
f01096bca3
wip
2023-10-05 11:52:22 -04:00
Łukasz Magiera
444e75ef77
feat: mpool/wdpost: Maximize feecap config
2023-10-03 11:32:49 +02:00
Andrew Jackson (Ajax)
ea035f4a7f
lint, db timout, cfg rm
2023-09-29 11:56:10 -05:00
Steven Allen
c6debaadf0
make gen
2023-09-23 17:54:44 -04:00
Aayush
04ebd5177c
refactor: GetMaxSectorExpirationExtension depends on network version
2023-09-23 14:09:25 -04:00
Andrew Jackson (Ajax)
632bf15b82
build oops
2023-09-22 18:08:19 -05:00
Andrew Jackson (Ajax)
a888b6320c
harmonytask bump http protocol spec & lints
2023-09-22 18:06:26 -05:00
Łukasz Magiera
ac85a2e23b
Merge pull request #11171 from ipfs-force-community/opt/remove-repeat-check
...
opt: fix duplicate check exitcode
2023-09-22 14:52:34 +02:00
Andrew Jackson (Ajax)
a520ee85d6
master-to-sturdy
2023-09-21 10:37:02 -05:00
Łukasz Magiera
3f076bfc16
fix exec traces with new ffi
2023-09-19 11:58:13 +02:00
Icarus9913
2a8ea957fa
stop using go-libp2p deprecated peer.ID.Pretty
...
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-09-12 13:13:34 +08:00
Phi
024dd5e08e
Merge branch 'feat/nv21' into feat/implement-SyntheticPoRep
2023-09-08 16:41:39 +02:00
Mikers
5e5a81bf23
add go linter - "unused" ( #11235 )
...
* add go linter - "unused"
* use _ to name unused but needed padding variable
* remove unused code
* add queue test to appease unused linter
* remove unused code in test
* remove unused func
* remove unused struct identified by linter
* remove unused variable
* remove unused code
* remove unused file
* remove unused struct
* remove unused function
* remove unused observe peers function in raft
* remove unused declareFaults function
* annotate nolint:unused on needed methods
2023-09-05 12:19:43 -10:00
Łukasz Magiera
4ee20965fa
chore: chain/actors: Use type proxies instead of versioned GST imports
2023-08-29 15:28:16 +02: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
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
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
4068e0710d
Do not return interface{} from trace api methods
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
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
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
Aayush
60dc1458ce
chore: stmgr: migrations: do not log noisily on cache misses
2023-08-22 17:03:02 -04:00
Aayush
89f66dde93
refactor: move vm.Rand to rand.Rand
2023-08-22 12:32:43 -04:00
Aayush
3ea3e49bdd
wip: 2 more randomness fetching APIs
2023-08-22 12:32:25 -04:00
Aayush
2e9f4dc2ae
Refactor: Rand: Return randomness digest to VM
2023-08-22 12:32:13 -04:00
Aayush
5ff0db9650
Refactor: Rand: Rename DrawRandomness to DrawRandomnessFromBase
2023-08-22 12:32:00 -04:00
Aayush
7cfcaf0f8f
Refactor: Rand: return randomness base without hashing
2023-08-22 12:31:56 -04:00
Aayush
7e6ed09628
refactor: move vm.Rand to rand.Rand
2023-08-22 11:34:28 -04:00
Aayush
034f6cf832
wip: 2 more randomness fetching APIs
2023-08-21 16:32:27 -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
Marten Seemann
93f95d2ef9
Revert "stop using deprecated functions from the math/rand package"
...
This reverts commit d50cf4eb64
.
2023-08-21 15:02:06 +07:00
Marten Seemann
d50cf4eb64
stop using deprecated functions from the math/rand package
2023-08-21 13:53:46 +07:00
Marten Seemann
bca0ec4f9c
update go-libp2p v0.30.0
2023-08-21 10:44:37 +07:00
Phi
8b5da86727
feat: introduce local nv21 skeleton
...
Introduce nv21 skeleton for local testing:
- Use local go-state-types with actor_version_checklist changes: https://github.com/filecoin-project/go-state-types/blob/master/actors_version_checklist.md
- Imports mock v12-actors bundle
- Define upgrade heights
- Generate adapters
- Add upgrade schedule and migration
- Add actorstype to the NewActorRegistry in /chain/consensus/computestate.go
- Add upgrade field to api/types.go/ForkUpgradeParams
- Add upgrade to node/impl/full/state.go
- Add network version to chain/state/statetree.go
- make jen
- make docsgen-cli
2023-08-16 20:01:48 +02:00
simlecode
a750e63a7b
opt: fix duplicate check exitcode
2023-08-15 16:28:03 +08:00
Aayush
12e076e9ea
fix: chainstore: do not get stuck in unhappy equivocation cases
2023-08-11 17:32:39 -04:00
Aayush
20e831b9ea
refactor: drop unused param from IsRoundWinner
2023-08-11 09:48:09 -04:00
Aayush
69f3580ca2
add more test cases covering chainstore equivocation
2023-08-09 21:00:50 -04:00
Aayush
2cbdedc209
add more test cases covering chainstore equivocation
2023-08-09 19:40:53 -04:00
Aayush
0ff334912b
Address review
2023-08-09 19:28:24 -04:00
Aayush
52657c5cb0
feat: chainstore: FRC-0051: Remove all equivocated blocks from tipsets
2023-08-09 19:28:24 -04:00
Łukasz Magiera
683432e6e0
Merge pull request #11119 from filecoin-project/chore/cleanup-compunscid
...
chore: legacy syscalls: Cleanup ComputeUnsealedSectorCID
2023-08-02 06:45:35 -07:00
Łukasz Magiera
fbac220208
feat: chain node: Move consensus slasher to internal service
2023-08-01 12:06:18 -04:00
Aayush
a413a53be2
feat: refactor slashfilter to return bool indicating fault
2023-08-01 12:05:02 -04:00
Łukasz Magiera
fe7cf0c39a
feat: chain node: Move consensus slasher to internal service
2023-08-01 17:34:44 +02:00
Aayush
4872ad66a7
feat: FVM: do not error on unsuccessful implicit messages
2023-07-31 15:37:54 -04:00
Aayush
cd958e4f6e
feat: FVM: do not error on unsuccessful implicit messages
2023-07-31 15:26:37 -04:00
Łukasz Magiera
bf36ca93bb
legacy syscalls: Cleanup ComputeUnsealedSectorCID
2023-07-31 12:43:47 +02:00
Aayush
990b5a0bad
fix: ethtypes: handle length overflow case
2023-07-21 12:26:29 -04:00
Aayush Rajasekaran
d40946fb8c
Merge pull request #11081 from filecoin-project/steb/bare-cbor
...
feat: vm: allow raw "cbor" in state and use the new go-multicodec
2023-07-18 12:53:44 -04:00
Aayush
e17af657da
chore: stmgr: migrations: do not log noisily on cache misses
2023-07-18 10:22:30 -04:00
Steven Allen
1fc47eb7d8
feat: vm: allow raw "cbor" in state and use the new go-multicodec
...
1. Switch to go-multicodec as the source of multicodec code information.
This gives us a central, generated source of multicodec codes.
2. Use this library inside the VM and shapshot logic to consistently
allow CBOR, in addition to DagCBOR.
3. Remove the hard-coded CBOR constant.
2023-07-17 11:24:01 -07:00
Aayush
09b566dde1
fix: daemon: set real beacon schedule when importing chain
2023-07-17 09:36:41 -04:00
Fridrik Asmundsson
871d1ba547
fix: DecodeRLP can panic
2023-07-14 11:49:50 +00:00
Łukasz Magiera
2f19a5f66d
gen, fix build with new state-types
2023-07-13 15:48:19 +02:00
Andrew Jackson (Ajax)
1a799aec37
fixes
2023-07-13 15:48:08 +02:00
Andrew Jackson (Ajax)
08038540e4
Impl synthPoRep
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
b43665a3c1
synthPoRep in PreferredSeal..()
2023-07-13 15:47:58 +02:00
Andrew Jackson (Ajax)
1db45f46ae
synthetic-porep subpackages
2023-07-13 15:47:20 +02:00
Phi
c7b9633160
feat: introduce local nv21 skeleton
...
Introduce nv21 skeleton for local testing:
- Use local go-state-types with actor_version_checklist changes: https://github.com/filecoin-project/go-state-types/blob/master/actors_version_checklist.md
- Imports mock v12-actors bundle
- Define upgrade heights
- Generate adapters
- Add upgrade schedule and migration
- Add actorstype to the NewActorRegistry in /chain/consensus/computestate.go
- Add upgrade field to api/types.go/ForkUpgradeParams
- Add upgrade to node/impl/full/state.go
- Add network version to chain/state/statetree.go
- make jen
- make docsgen-cli
2023-07-13 15:47:18 +02:00
Aayush Rajasekaran
807a5dbaa8
Merge pull request #11016 from filecoin-project/sbansal/invert-validation-switch-checks
...
refactor: Make all validation error actions explicit
2023-07-11 11:31:40 -04:00
Fridrik Asmundsson
655ea1e0b5
Add tmp indices to events table while performing migration to V2
...
After the migration we also perform db administration on the
events DB to reduce its file size on disk.
(cherry picked from commit 0d7621be56
)
2023-07-11 10:25:32 -04:00
Fridrik Asmundsson
0d7621be56
Add tmp indices to events table while performing migration to V2
...
After the migration we also perform db administration on the
events DB to reduce its file size on disk.
2023-07-11 10:16:47 +00:00
Aayush Rajasekaran
3f71298c4b
Merge pull request #11054 from filecoin-project/asr/max-event-length
...
feat: types: apply a max length when decoding events
2023-07-10 10:37:30 -04:00
Aayush
802a9f0a78
feat: refactor slashfilter to return bool indicating fault
2023-07-08 11:14:41 -04:00
Aayush
07965467ee
feat: fvm: apply a max length when decoding events
2023-07-08 11:05:01 -04:00
Shrenuj Bansal
bc5637c60a
keep default action as reject and make all error actions explicit
2023-07-05 12:13:01 -04:00