-
Notifications
You must be signed in to change notification settings - Fork 40
Apply Dynamic cfg to p2 & p3 cases #711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
snadrus
wants to merge
79
commits into
main
Choose a base branch
from
dyn-cfg-p23
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,709
−477
Open
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
e87c370
dyncfg 90% done
snadrus 0662132
tests, docs, and clean-up
snadrus 260e345
updates
snadrus 0403006
checkers
snadrus d88a898
allow cmp.Equal
snadrus 886dfd0
fixed dynamic
snadrus 02772cc
avoid unsettable
snadrus de69e43
Merge branch 'main' into dyn-cfg
snadrus 3240f22
change-notification
snadrus e03333d
ingest-easy
snadrus bb71ceb
go mod tidy
snadrus 317fed1
md
snadrus 575f029
address1
snadrus cabb400
dbg basetext
snadrus 8f7a6ac
fix bad import
snadrus ff6ebdc
test logger
snadrus 17f1050
dbgFail: is it in baseTest
snadrus aa24527
found 1 blocker for test failure: base was not included right
snadrus 65ae076
Merge branch 'dyn-cfg' into apply-dyn-cfg
snadrus dcc4786
rm dbg
snadrus 1808bc9
completed addresses
snadrus 3779387
lint
snadrus 5d27fbc
move mineraddress onchange one level up
snadrus 2c0286e
no pq, fix unmarshal
snadrus b9cb21c
complex equal
snadrus 1e0a2e1
Merge branch 'dyn-cfg' into apply-dyn-cfg
snadrus deb9967
mod tidy & naming
snadrus 6d721d8
fix Fil cmp panic
snadrus 7282be5
Merge branch 'dyn-cfg' into apply-dyn-cfg
snadrus 0127d96
transparent-decode
snadrus 164bee8
finish remaining holes
snadrus 342582b
rm comment
snadrus 1dd9d6c
Merge branch 'main' into apply-dyn-cfg
snadrus 0f34307
merge oops
snadrus 51fc3a6
marshaltoml warning
snadrus 452644e
fixed doc
snadrus a3f3153
eqEmpty needed for test
snadrus ab411fc
tests fixed
snadrus 87c3d13
lint
snadrus 8eb4672
fees
snadrus 7b964d7
PieceLocator
snadrus 7429786
Batching
snadrus 1cdc8f5
alerting
snadrus 0dead0d
dyn chain nodes [fc, eth]
snadrus 343158e
maybe zero?
snadrus 808ccd6
ez zero
snadrus 9f58588
gen fix
snadrus a8d8d18
full tests
snadrus 1db4497
proxygen
snadrus 278d8e3
Merge branch 'apply-dyn-cfg' into dyn-cfg-p23
snadrus 7883213
Merge branch 'apply-dyn-cfg' into dyn-cfg-p23
snadrus 0cfcad3
lint and gen-lang
snadrus 09e78ec
Merge branch 'apply-dyn-cfg' into dyn-cfg-p23
snadrus a1a27c3
less lines changed
snadrus c7f94dd
curio-cli LANG=en
snadrus 5b456c6
Merge branch 'apply-dyn-cfg' into dyn-cfg-p23
snadrus 8a92843
cleanups
snadrus dbe0c6f
fix race condition that resulted in ignoring the last bit of cached d…
snadrus 035c107
deadlocks aaaaa
snadrus c4471db
too much logging
snadrus cbc2811
rm balance_manager
snadrus 21e2120
lint, gen
snadrus 4da45e3
Merge branch 'apply-dyn-cfg' into dyn-cfg-p23
snadrus dd4ad17
fix deadlock
snadrus 80ddd5e
Merge branch 'main' into dyn-cfg-p23
snadrus 63efec3
merge plus
snadrus 155a7e4
light lints
snadrus b0d3ea1
lint, zerofix
snadrus de5c88b
atomic updated, sql tests better
snadrus 41422bb
db triggers, change timeouts
snadrus 9704ce0
eth test
snadrus 81f4d31
ethclient test
snadrus 3d5710c
ethtest
snadrus 0a7736c
simpler eth failover test
snadrus 7f2e82e
Merge branch 'main' into dyn-cfg-p23
snadrus ab2020a
Merge branch 'dyn-cfg-p23' of https://github.com/filecoin-project/cur…
snadrus 8a8f59b
lint
snadrus 6be91a6
test
snadrus 4f4dddc
stupid mistake
snadrus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| package api | ||
|
|
||
| import ( | ||
| "context" | ||
| mathbig "math/big" | ||
|
|
||
| "github.com/ethereum/go-ethereum" | ||
| "github.com/ethereum/go-ethereum/common" | ||
| ethtypes "github.com/ethereum/go-ethereum/core/types" | ||
| erpc "github.com/ethereum/go-ethereum/rpc" | ||
| ) | ||
|
|
||
| type EthClientInterface interface { | ||
| ChainID(ctx context.Context) (*mathbig.Int, error) | ||
| BlockByHash(ctx context.Context, hash common.Hash) (*ethtypes.Block, error) | ||
| BlockByNumber(ctx context.Context, number *mathbig.Int) (*ethtypes.Block, error) | ||
| BlockNumber(ctx context.Context) (uint64, error) | ||
| PeerCount(ctx context.Context) (uint64, error) | ||
| BlockReceipts(ctx context.Context, blockNrOrHash erpc.BlockNumberOrHash) ([]*ethtypes.Receipt, error) | ||
| HeaderByHash(ctx context.Context, hash common.Hash) (*ethtypes.Header, error) | ||
| HeaderByNumber(ctx context.Context, number *mathbig.Int) (*ethtypes.Header, error) | ||
| TransactionByHash(ctx context.Context, hash common.Hash) (tx *ethtypes.Transaction, isPending bool, err error) | ||
| TransactionSender(ctx context.Context, tx *ethtypes.Transaction, block common.Hash, index uint) (common.Address, error) | ||
| TransactionCount(ctx context.Context, blockHash common.Hash) (uint, error) | ||
| TransactionInBlock(ctx context.Context, blockHash common.Hash, index uint) (*ethtypes.Transaction, error) | ||
| TransactionReceipt(ctx context.Context, txHash common.Hash) (*ethtypes.Receipt, error) | ||
| SyncProgress(ctx context.Context) (*ethereum.SyncProgress, error) | ||
| SubscribeNewHead(ctx context.Context, ch chan<- *ethtypes.Header) (ethereum.Subscription, error) | ||
| NetworkID(ctx context.Context) (*mathbig.Int, error) | ||
| BalanceAt(ctx context.Context, account common.Address, blockNumber *mathbig.Int) (*mathbig.Int, error) | ||
| BalanceAtHash(ctx context.Context, account common.Address, blockHash common.Hash) (*mathbig.Int, error) | ||
| StorageAt(ctx context.Context, account common.Address, key common.Hash, blockNumber *mathbig.Int) ([]byte, error) | ||
| StorageAtHash(ctx context.Context, account common.Address, key common.Hash, blockHash common.Hash) ([]byte, error) | ||
| CodeAt(ctx context.Context, account common.Address, blockNumber *mathbig.Int) ([]byte, error) | ||
| CodeAtHash(ctx context.Context, account common.Address, blockHash common.Hash) ([]byte, error) | ||
| NonceAt(ctx context.Context, account common.Address, blockNumber *mathbig.Int) (uint64, error) | ||
| NonceAtHash(ctx context.Context, account common.Address, blockHash common.Hash) (uint64, error) | ||
| FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]ethtypes.Log, error) | ||
| SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- ethtypes.Log) (ethereum.Subscription, error) | ||
| PendingBalanceAt(ctx context.Context, account common.Address) (*mathbig.Int, error) | ||
| PendingStorageAt(ctx context.Context, account common.Address, key common.Hash) ([]byte, error) | ||
| PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) | ||
| PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) | ||
| PendingTransactionCount(ctx context.Context) (uint, error) | ||
| CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *mathbig.Int) ([]byte, error) | ||
| CallContractAtHash(ctx context.Context, msg ethereum.CallMsg, blockHash common.Hash) ([]byte, error) | ||
| PendingCallContract(ctx context.Context, msg ethereum.CallMsg) ([]byte, error) | ||
| SuggestGasPrice(ctx context.Context) (*mathbig.Int, error) | ||
| SuggestGasTipCap(ctx context.Context) (*mathbig.Int, error) | ||
| FeeHistory(ctx context.Context, blockCount uint64, lastBlock *mathbig.Int, rewardPercentiles []float64) (*ethereum.FeeHistory, error) | ||
| EstimateGas(ctx context.Context, msg ethereum.CallMsg) (uint64, error) | ||
| SendTransaction(ctx context.Context, tx *ethtypes.Transaction) error | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't use the default name