Skip to content
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

[AVAX] Merge Cortina 19 (v1.10.19) #360

Draft
wants to merge 302 commits into
base: evlekht/new-dev-c19
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
302 commits
Select commit Hold shift + click to select a range
4768ed4
Remove bootstrapping retry config (#2301)
StephenButtolph Nov 17, 2023
dbc209c
Export snowman bootstrapper (#2331)
StephenButtolph Nov 17, 2023
a803f38
Remove common.Config from syncer.Config (#2330)
StephenButtolph Nov 17, 2023
40934bb
`platformvm.VM` -- replace `Config` field with `validators.Manager` (…
Nov 17, 2023
b573889
Improve height monitoring (#2347)
StephenButtolph Nov 20, 2023
2b737d5
Cleanup snowman consensus metrics (#2349)
StephenButtolph Nov 21, 2023
f7cc69b
Expand consensus health check (#2354)
StephenButtolph Nov 21, 2023
459f8ba
Reduce the size of the OracleBlock interface (#2355)
StephenButtolph Nov 22, 2023
f2f6d0a
[vms/proposervm] Update Build Heuristic (#2348)
patrick-ogrady Nov 22, 2023
4ce0d67
Use linkedhashmap for P-Chain mempool (#1536)
gyuho Nov 22, 2023
48c541c
Fix P-chain mempool tx count metric (#2361)
StephenButtolph Nov 22, 2023
62df19c
Update versions for v1.10.16 (#2353)
StephenButtolph Nov 23, 2023
6ad31d6
Remove Banff check from mempool verifier (#2360)
dhrubabasu Nov 23, 2023
9353569
Document storage growth in readme (#2364)
StephenButtolph Nov 24, 2023
8d9b93c
Add metric for duration between block timestamp and block acceptance …
StephenButtolph Nov 24, 2023
b1b051a
`vms/platformvm`: Remove unused `withMetrics` txheap (#2373)
dhrubabasu Nov 26, 2023
e04dad8
Move peerTracker from x/sync to network/p2p (#2356)
joshua-kim Nov 26, 2023
79e572d
Avoid closing stdout and stderr during log close (#2372)
felipemadero Nov 27, 2023
42161aa
`vms/platformvm`: Adjust `Diff.Apply` signature (#2368)
dhrubabasu Nov 27, 2023
b9ab41a
Add option to provide BLS keys to validators in the genesis (#2371)
felipemadero Nov 27, 2023
3a424d0
Remove `engine.GetVM` (#2374)
StephenButtolph Nov 27, 2023
9ad213c
`vms/platformvm`: Consolidate `state` pkg mocks (#2370)
dhrubabasu Nov 27, 2023
590ad12
Remove common bootstrapper (#2297)
StephenButtolph Nov 27, 2023
6e52922
`vms/platformvm`: Move `toEngine` channel to mempool (#2333)
dhrubabasu Nov 28, 2023
d7e7ff5
`vms/avm`: Rename `states` pkg to `state` (#2381)
dhrubabasu Nov 28, 2023
be422a0
Implement generic bimap (#2383)
StephenButtolph Nov 28, 2023
02ae8d9
Unexport RequestID from snowman engine (#2384)
StephenButtolph Nov 28, 2023
21c14b1
Add metric to track the stake weight of block providers (#2376)
StephenButtolph Nov 29, 2023
6ed238c
Add block source metrics to monitor gossip (#2386)
StephenButtolph Nov 29, 2023
1dddf30
Rename `D` to `Durango` (#2389)
dhrubabasu Nov 29, 2023
56c2ad9
Replace periodic push accepted gossip with pull preference gossip for…
StephenButtolph Nov 29, 2023
c5169a3
MerkleDB Remove ID from Node to reduce size and removal channel creat…
dboehm-avalabs Nov 29, 2023
0da5bcc
Remove method `CappedList` from `set.Set` (#2395)
Nov 29, 2023
96d451d
Periodically PullGossip only from connected validators (#2399)
StephenButtolph Nov 29, 2023
907b34c
Update bootstrap IPs (#2396)
StephenButtolph Nov 30, 2023
0ab2046
Rename `testnet` fixture to `tmpnet` (#2307)
marun Nov 30, 2023
de3b16c
Add `p2p.Network` component (#2283)
joshua-kim Nov 30, 2023
9b85141
`vms/platformvm`: Move `GetRewardUTXOs`, `GetSubnets`, and `GetChains…
dhrubabasu Nov 30, 2023
be1a2ad
Add more descriptive formatted error (#2403)
aaronbuchwald Dec 1, 2023
7623ffd
Update versions for v1.10.17 (#2394)
StephenButtolph Dec 2, 2023
04af33e
`vms/platformvm`: Cleanup block builder tests (#2406)
dhrubabasu Dec 2, 2023
05ce366
testing: Update to latest version of ginkgo (#2390)
marun Dec 2, 2023
c11accd
Drop Pending Stakers 0 - De-duplicate staking tx verification (#2335)
abi87 Dec 4, 2023
6aa20fc
`vms/platformvm`: Initialize txs in `Transactions` field for `BanffPr…
dhrubabasu Dec 4, 2023
b741c19
`vms/platformvm`: Move `VerifyUniqueInputs` from `verifier` to `backe…
dhrubabasu Dec 4, 2023
2e32281
Fix duplicated bootstrapper engine termination (#2334)
StephenButtolph Dec 4, 2023
5d9e482
allow user of `build_fuzz.sh` to specify a directory to fuzz in (#2414)
Dec 5, 2023
b6700c9
Update slices dependency to use Compare (#2424)
StephenButtolph Dec 5, 2023
477157d
`vms/platformvm`: Cleanup some block tests (#2422)
dhrubabasu Dec 5, 2023
439dc1e
ProposerVM Extend windows 0 - Cleanup (#2404)
abi87 Dec 5, 2023
004a23e
`vms/platformvm`: Add `decisionTxs` parameter to `NewBanffProposalBlo…
dhrubabasu Dec 5, 2023
ada692a
Update minimum golang version to v1.20.12 (#2427)
StephenButtolph Dec 5, 2023
21b7ab8
Fix platformvm.SetPreference (#2429)
StephenButtolph Dec 6, 2023
7df1f3a
Restrict GOPROXY (#2434)
StephenButtolph Dec 6, 2023
b36416d
Drop Pending Stakers 1 - introduced ScheduledStaker txs (#2323)
abi87 Dec 6, 2023
9c1694a
Run merkledb fuzz tests every 6 hours (#2415)
Dec 6, 2023
d2ce17f
Remove unused error (#2426)
joshua-kim Dec 6, 2023
4705218
Make `messageQueue.msgAndCtxs` a circular buffer (#2433)
Dec 6, 2023
ef2838d
ProposerVM Extend windows 1 - UTs Cleanup (#2412)
abi87 Dec 6, 2023
930879d
Change seed from int64 to uint64 (#2438)
StephenButtolph Dec 6, 2023
54c1ecf
Remove usage of timer.Timer in node (#2441)
StephenButtolph Dec 7, 2023
7c33fa3
Remove staged timer again (#2440)
StephenButtolph Dec 7, 2023
a754118
`merkledb` / `sync` -- Disambiguate no end root from no start root (#…
Dec 7, 2023
c991157
Drop Pending Stakers 2 - Replace txs.ScheduledStaker with txs.Staker …
abi87 Dec 7, 2023
eb570dd
`vms/platformvm`: Remove double block building logic (#2380)
dhrubabasu Dec 8, 2023
dd2c6ef
Remove usage of timer.Timer in benchlist (#2446)
StephenButtolph Dec 8, 2023
80fa254
`vms/avm`: Simplify `Peek` function in mempool (#2449)
dhrubabasu Dec 9, 2023
0ee7575
`vms/platformvm`: Remove `standardBlockState` struct (#2450)
dhrubabasu Dec 10, 2023
d2457c5
Refactor sampler seeding (#2456)
StephenButtolph Dec 11, 2023
159aafb
Update tmpnet fixture to include Proof-of-Possession for initial stak…
marun Dec 11, 2023
4e5b20e
`vms/platformvm`: Remove `EnableAdding` and `DisableAdding` from `Mem…
dhrubabasu Dec 11, 2023
a361868
`vms/avm`: Add `exists` bool to mempool `Peek` (#2465)
dhrubabasu Dec 11, 2023
4be5218
`vms/platformvm`: Remove `PeekTxs` from `Mempool` interface (#2378)
dhrubabasu Dec 11, 2023
2fd8931
`vms/platformvm`: Add `processStandardTxs` helper (#2461)
dhrubabasu Dec 11, 2023
f5266fb
`vms/platformvm`: Process `atomicRequests` and `onAcceptFunc` in opti…
dhrubabasu Dec 11, 2023
e3d0278
`e2e`: Rename 'funded key' to 'pre-funded key' for consistency (#2455)
marun Dec 11, 2023
8e55f7d
`vms/platformvm`: Surface `VerifyUniqueInputs` in the `Manager` (#2467)
dhrubabasu Dec 12, 2023
dd3759a
`vms/platformvm`: Add `TestBuildBlockShouldReward` test (#2466)
dhrubabasu Dec 12, 2023
de89d1e
Switch client version to a proto type from a string (#2188)
joshua-kim Dec 12, 2023
baf0fbd
Remove stale TODO (#2468)
Dec 12, 2023
054b5e9
`vms/platformvm`: Add `TestBuildBlockDoesNotBuildWithEmptyMempool` te…
dhrubabasu Dec 12, 2023
54abd9a
`vms/platformvm`: Add `TestBuildBlockShouldAdvanceTime` test (#2471)
dhrubabasu Dec 12, 2023
dc472ec
`vms/platformvm`: Permit usage of the `Transactions` field in `BanffP…
dhrubabasu Dec 12, 2023
7963115
`vms/platformvm`: Add `TestBuildBlockForceAdvanceTime` test (#2472)
dhrubabasu Dec 12, 2023
4be744e
P2P AppError handling (#2248)
joshua-kim Dec 12, 2023
0b2b109
`vms/platformvm`: Verify txs before building a block (#2359)
dhrubabasu Dec 12, 2023
ac5a00e
Refactor p2p unit tests (#2475)
joshua-kim Dec 12, 2023
82fbc97
Add ACP signaling (#2476)
StephenButtolph Dec 12, 2023
832632a
Refactor SDK (#2452)
joshua-kim Dec 13, 2023
1461137
Cleanup CI (#2480)
dhrubabasu Dec 13, 2023
36fbe54
Ensure upgrade test uses the correct binary on restart (#2478)
marun Dec 13, 2023
f69d68f
Prefetch Improvement (#2435)
dboehm-avalabs Dec 13, 2023
bf0cc44
ci: run each fuzz test for 10 seconds (#2483)
dhrubabasu Dec 13, 2023
61deacc
Remove nullable options (#2481)
nytzuga Dec 13, 2023
f80cb92
`merkledb` -- dynamic root (#2177)
Dec 14, 2023
cf5e869
fix onEvictCache (#2484)
Dec 14, 2023
4909a20
Remove cached node bytes from merkle nodes (#2393)
dboehm-avalabs Dec 14, 2023
f887e48
Fix race in view iteration (#2486)
dboehm-avalabs Dec 14, 2023
0f4cff1
MerkleDB -- update readme (#2423)
Dec 14, 2023
abf4fbc
Drop Pending Stakers 3 - persist stakers' StartTime (#2306)
abi87 Dec 14, 2023
512f342
SDK Push Gossiper implementation (#2428)
joshua-kim Dec 14, 2023
8107f79
`tmpnet`: Move tmpnet/local to tmpnet package (#2457)
marun Dec 15, 2023
8c47e3f
`merkledb` -- make tests use time as randomness seed (#2470)
Dec 15, 2023
2dcce4c
`tmpnet`: Break config.go up into coherent parts (#2462)
marun Dec 15, 2023
5ce35ce
Drop Pending Stakers 4 - minimal UT infra cleanup (#2332)
abi87 Dec 15, 2023
83c95a5
ProposerVM Extend windows 2- extend windowing (#2401)
abi87 Dec 16, 2023
21fe503
Support json marshalling txs returned from the wallet (#2494)
StephenButtolph Dec 16, 2023
331a5bc
Avoid escaping to improve readability (#2496)
StephenButtolph Dec 17, 2023
4430550
Allow OutputOwners to be json marshalled without InitCtx (#2495)
StephenButtolph Dec 17, 2023
aa764bb
Drop Pending Stakers 5 - validated PostDurango StakerTxs (#2314)
abi87 Dec 18, 2023
44d71db
Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#2502)
dependabot[bot] Dec 19, 2023
7a9bdad
Remove unused `BuildGenesisTest` function (#2503)
dhrubabasu Dec 19, 2023
6c64372
Remove unused `AcceptorTracker` struct (#2508)
dhrubabasu Dec 19, 2023
58d2779
Dedupe secp256k1 key usage in tests (#2511)
dhrubabasu Dec 19, 2023
fc3ffb3
Merkledb readme updates (#2510)
Dec 19, 2023
618f02c
Gossip Test structs (#2514)
joshua-kim Dec 19, 2023
fa21d78
`tmpnet`: Separate node into orchestration, config and process (#2460)
marun Dec 19, 2023
7140a84
Move `snow.DefaultConsensusContextTest` to `snowtest.ConsensusContext…
dhrubabasu Dec 19, 2023
39a5320
Add gossip Marshaller interface (#2509)
joshua-kim Dec 20, 2023
9d19143
Include chain creation error in health check (#2519)
marun Dec 20, 2023
0d0ac62
Make X-chain mempool safe for concurrent use (#2520)
StephenButtolph Dec 20, 2023
5c02d0c
Initialize transactions once (#2521)
StephenButtolph Dec 20, 2023
5f7d460
`vms/avm`: Remove usage of `require.Contains` from service tests (#2517)
dhrubabasu Dec 20, 2023
fca1a16
Move context lock into issueTx (#2524)
StephenButtolph Dec 20, 2023
e41fa53
Rework X-chain locking in tests (#2526)
StephenButtolph Dec 20, 2023
fb5f0cd
`vms/avm`: Simplify `mempool.Remove` signature (#2527)
dhrubabasu Dec 21, 2023
620a523
Remove unused mocks (#2528)
dhrubabasu Dec 21, 2023
d5bbe8d
Move `avm.newContext` to `snowtest.Context` (#2513)
dhrubabasu Dec 21, 2023
c15d1a9
Do not fail-fast in Tests / Unit (#2530)
StephenButtolph Dec 21, 2023
35907e0
Make P-Chain Mempool thread-safe (#2523)
joshua-kim Dec 21, 2023
3e45123
`vms/platformvm`: Use `snowtest.Context` helper (#2515)
dhrubabasu Dec 21, 2023
9a63776
Export mempool errors (#2531)
StephenButtolph Dec 21, 2023
1f8f10f
Move locking into issueTx (#2532)
StephenButtolph Dec 21, 2023
9830e2d
Fix merge in wallet service (#2534)
StephenButtolph Dec 22, 2023
a4cfbc0
Introduce TxVerifier interface to network (#2533)
StephenButtolph Dec 22, 2023
7e5d1a2
Export P-Chain Mempool Errors (#2535)
joshua-kim Dec 22, 2023
5ebafd9
Rename `Version` message to `Handshake` (#2479)
Dec 22, 2023
4458432
Rename myVersionTime to ipSigningTime (#2537)
Dec 22, 2023
b7db25b
Remove resolved TODO (#2540)
dhrubabasu Dec 22, 2023
f0c150d
Only initialize Txs once (#2538)
joshua-kim Dec 22, 2023
762a8cd
JSON marshal the `Transactions` field in `BanffProposalBlocks` (#2541)
dhrubabasu Dec 22, 2023
071a94b
Enable `predeclared` linter (#2539)
dhrubabasu Dec 22, 2023
1284454
Move context lock into `network.issueTx` (#2525)
joshua-kim Dec 22, 2023
c950f0f
Remove comment on treating failed sends as FATAL (#2544)
joshua-kim Dec 22, 2023
5888ac3
Add TxVerifier interface to network (#2542)
joshua-kim Dec 22, 2023
33f7411
X-chain SDK gossip (#2490)
joshua-kim Dec 22, 2023
5717070
Remove network context (#2543)
joshua-kim Dec 22, 2023
f59e46f
Fix windowing when no validator is available (#2529)
abi87 Dec 22, 2023
a809807
Remove `snow.DefaultContextTest` (#2518)
dhrubabasu Dec 22, 2023
653c2f1
Unexport fields from gossip.BloomFilter (#2547)
StephenButtolph Dec 23, 2023
9fb61ab
P-Chain SDK Gossip (#2487)
joshua-kim Dec 23, 2023
ee10054
Documentation Fixes: Grammatical Corrections and Typo Fixes Across Mu…
joaolago1113 Dec 25, 2023
332a1b3
Notify block builder of txs after reject (#2549)
StephenButtolph Dec 27, 2023
1bc0378
Set dependabot target branch to `dev` (#2553)
dhrubabasu Dec 27, 2023
aa509e7
Remove `MockLogger` (#2554)
dhrubabasu Dec 27, 2023
0c7ff5a
Clean up merkleDB interface and duplicate code (#2445)
dboehm-avalabs Dec 28, 2023
040bcd8
Do not mark txs as dropped when mempool is full (#2557)
dhrubabasu Dec 28, 2023
7ca56e8
Update bug bounty program to immunefi (#2558)
StephenButtolph Dec 29, 2023
4bcf7ee
Fix p2p sdk metric labels (#2561)
StephenButtolph Dec 29, 2023
bbcc5f0
Suppress gossip warnings due to no sampled peers (#2562)
StephenButtolph Dec 29, 2023
029867f
Remove dead code and unnecessary lock from reflect codec (#2560)
StephenButtolph Dec 29, 2023
cb840e9
Remove unused index interface (#2564)
StephenButtolph Dec 29, 2023
60a8158
Implement SetMap and use it in XP-chain mempools (#2555)
StephenButtolph Dec 29, 2023
6d28ae0
`vms/platformvm`: Add `TestIterate` (#2565)
dhrubabasu Dec 29, 2023
e89d972
Cleanup codec usage (#2563)
StephenButtolph Dec 29, 2023
8618c30
Remove `len` tag parsing from the reflect codec (#2559)
StephenButtolph Dec 29, 2023
0158a53
Use more specific type (#2567)
dhrubabasu Dec 31, 2023
f56ff2e
Standardize `onShutdownCtx` (#2568)
dhrubabasu Dec 31, 2023
89bc40c
Verify avm mempool txs against the last accepted state (#2569)
StephenButtolph Dec 31, 2023
561efd7
Update `CODEOWNERS` (#2570)
dhrubabasu Jan 1, 2024
e26d9c9
Remove license from mocks (#2574)
dhrubabasu Jan 2, 2024
d825ec2
Add missing import (#2573)
dhrubabasu Jan 2, 2024
021f4f7
`vms/platformvm`: Prune mempool periodically (#2566)
dhrubabasu Jan 2, 2024
0c4efd7
Update license header to 2024 (#2572)
dhrubabasu Jan 3, 2024
935bfe4
[MerkleDB] Make intermediate node cache two layered (#2576)
dboehm-avalabs Jan 4, 2024
72dc442
Fix merkledb rebuild iterator (#2581)
dboehm-avalabs Jan 4, 2024
7c82a5b
Fix intermediate node caching (#2585)
dboehm-avalabs Jan 4, 2024
71f920d
Remove codec length check after Durango (#2586)
StephenButtolph Jan 4, 2024
c74a08f
`tmpnet`: Use AvalancheLocalChainConfig for cchain genesis (#2583)
marun Jan 5, 2024
3096b61
`testing`: Ensure CheckBootstrapIsPossible is safe for teardown (#2582)
marun Jan 5, 2024
4d6d255
`tmpnet`: Separate network into orchestration and configuration (#2464)
marun Jan 5, 2024
73c4c0f
Update uintsize implementation (#2590)
Jan 7, 2024
bba8e75
Optimize bloom filter (#2588)
StephenButtolph Jan 8, 2024
718e306
Remove TLS key gen from networking tests (#2596)
StephenButtolph Jan 9, 2024
b25c247
[utils/bloom] Optionally Update Bloom Filter Size on Reset (#2591)
patrick-ogrady Jan 10, 2024
310b77e
[ci] Increase Fuzz Time in Periodic Runs (#2599)
patrick-ogrady Jan 10, 2024
9b4a01c
`tmpnet`: Save metrics snapshot to disk before node shutdown (#2601)
marun Jan 11, 2024
d3595e5
chore: Fix typo s/useage/usage (#2602)
hugo-syn Jan 11, 2024
31e5b3e
Deprecate `SnowRogueCommitThresholdKey` and `SnowVirtuousCommitThresh…
dhrubabasu Jan 11, 2024
74e6afc
Fix networking invalid field log (#2604)
StephenButtolph Jan 11, 2024
62fe36d
chore: Fix typo s/seperate/separate/ (#2605)
hugo-syn Jan 12, 2024
a6ee978
Support dynamic port peerlist gossip (#2603)
StephenButtolph Jan 13, 2024
864dbec
Replace `PeerListAck` with `GetPeerList` (#2580)
StephenButtolph Jan 14, 2024
dc48be8
Log critical consensus values during health checks (#2609)
StephenButtolph Jan 15, 2024
226cd21
Update contributions branch to master (#2610)
StephenButtolph Jan 15, 2024
003ed7f
Add ip bloom metrics (#2614)
StephenButtolph Jan 16, 2024
68986d3
`x/sync`: Auto-generate `MockNetworkClient` (#2617)
dhrubabasu Jan 17, 2024
fdaee4a
Remove CreateStaticHandlers from VM interface (#2589)
joshua-kim Jan 17, 2024
26e329a
`tmpnet`: Add support for subnets (#2492)
marun Jan 17, 2024
0fcc746
Update `go.uber.org/mock/gomock` to `v0.4.0` (#2618)
dhrubabasu Jan 17, 2024
d23eecc
Add `mockgen` source mode for generics + bls imports (#2615)
dhrubabasu Jan 17, 2024
cde054f
Verify all MockGen generated files are re-generated in CI (#2616)
dhrubabasu Jan 17, 2024
fee76e8
Move division by 0 check out of the bloom loops (#2622)
StephenButtolph Jan 17, 2024
4819bb9
P-chain Add UTs around stakers persistence in platformvm state (#2505)
abi87 Jan 17, 2024
fe2ded6
Revert "Set dependabot target branch to `dev` (#2553)" (#2623)
dhrubabasu Jan 17, 2024
a120693
Remove remaining 2023 remnants (#2624)
dhrubabasu Jan 17, 2024
6647ef6
Deprecate push-based peerlist gossip flags (#2625)
StephenButtolph Jan 17, 2024
f3561f4
Remove support for compressing gzip messages (#2627)
dhrubabasu Jan 17, 2024
d3d1b11
Always attempt to install mockgen `v0.4.0` before execution (#2628)
dhrubabasu Jan 18, 2024
f5884bb
Modify TLS parsing rules for Durango (#2458)
StephenButtolph Jan 18, 2024
20452c3
Update versions for v1.10.18 (#2548)
StephenButtolph Jan 18, 2024
eb18036
`vms/platformvm`: Change `AdvanceTimeTo` to modify passed-in `parentS…
dhrubabasu Jan 18, 2024
4d16cc3
`vms/platformvm`: Remove `MempoolTxVerifier` (#2362)
dhrubabasu Jan 18, 2024
1a99a1e
Verify `SignedIP.Timestamp` from `PeerList` messages (#2587)
Jan 18, 2024
18cdb09
Fix metrics namespace (#2632)
StephenButtolph Jan 19, 2024
9b302a5
Add bloom filter metrics to the p2p sdk (#2612)
ceyonur Jan 19, 2024
a054afd
Replace `shutdownEnvironment` with `t.Cleanup()` (#2491)
dhrubabasu Jan 19, 2024
3d4feed
P-chain - Memo field zeroed post Durango (#2607)
abi87 Jan 19, 2024
7cea467
Refactor feature extensions out of VMManager (#2578)
joshua-kim Jan 19, 2024
1d5026d
Remove getter for router on chain manager (#2641)
joshua-kim Jan 22, 2024
e65fac7
Fix `require.ErrorIs` argument order (#2645)
StephenButtolph Jan 22, 2024
1753393
`api/admin`: Cleanup `SuccessResponseTests` (#2644)
dhrubabasu Jan 22, 2024
bd4b381
Allow calls to `Options` before `Verify` (#2363)
StephenButtolph Jan 22, 2024
7a309bc
Improve logging of unexpected proposer errors (#2646)
StephenButtolph Jan 22, 2024
e121dc0
Disable non-security related dependabot PRs (#2647)
StephenButtolph Jan 23, 2024
1f29ab5
Add historical fork times (#2649)
StephenButtolph Jan 23, 2024
de0887b
Cleanup warp signer tests (#2651)
dhrubabasu Jan 23, 2024
9a0a5eb
Reintroduce the upgrade test against v1.10.18 (#2652)
StephenButtolph Jan 23, 2024
13bb7e4
Cleanup database benchmarks (#2653)
dhrubabasu Jan 23, 2024
0b344bd
Cleanup database tests (#2654)
dhrubabasu Jan 23, 2024
ad516fc
`ci`: Add shellcheck step to lint job (#2650)
marun Jan 23, 2024
bb2357e
Replace `closeFn` with `t.Cleanup` (#2638)
dhrubabasu Jan 23, 2024
c0bc9f5
Fix TestExpiredBuildBlock (#2655)
StephenButtolph Jan 23, 2024
e991d24
Add admin.dbGet API (#2667)
StephenButtolph Jan 25, 2024
1302ed8
`ci`: Update shellcheck.sh to pass all args to shellcheck (#2657)
marun Jan 25, 2024
b73635e
`vms/platformvm`: Remove `NewAdvanceTimeTx` from `Builder` (#2668)
dhrubabasu Jan 25, 2024
5c2def7
Log error if database returns unsorted heights (#2670)
StephenButtolph Jan 26, 2024
b81b936
`vms/platformvm`: Move `vm.Shutdown` call in tests to `t.Cleanup` (#2…
dhrubabasu Jan 26, 2024
39bb11f
`e2e`: Add test of `platform.getValidatorsAt` across nodes (#2664)
marun Jan 26, 2024
68980eb
Fix P-chain validator set lookup race condition (#2672)
StephenButtolph Jan 28, 2024
4b56873
Update versions for v1.10.19 (#2648)
StephenButtolph Jan 29, 2024
8757890
[AVAX] Intermediate Merge Cortina 16 (v1.10.16)
evlekht Jul 24, 2024
9d26ea9
[AVAX] Post Merge fixes for Cortina 16 (v1.10.16)
evlekht Mar 8, 2024
162094a
[AVAX] Intermediate Merge Cortina 17 (v1.10.17)
evlekht Jul 24, 2024
f4257b4
[AVAX] Post Merge fixes for Cortina 17 (v1.10.17)
evlekht Mar 12, 2024
b8f3448
[AVAX] Intermediate Merge Cortina 18 (v1.10.18)
evlekht Jul 24, 2024
6dc8ccb
[AVAX] Post Merge fixes for Cortina 18 (v1.10.18)
evlekht Jul 24, 2024
50be84f
[AVAX] Intermediate Merge Cortina 19 (v1.10.19)
evlekht Jul 24, 2024
fdec28d
[AVAX] Post Merge fixes for Cortina 19 (v1.10.19)
evlekht Apr 3, 2024
99fdf9b
tmp ci for review
evlekht Jul 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
open-pull-requests-limit: 0 # Disable non-security version updates
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Tests

on:
pull_request:
branches: [chain4travel, dev]
branches: [chain4travel, dev, evlekht/new-dev-c19]
workflow_dispatch:
merge_group:
types: [checks_requested]
Expand Down Expand Up @@ -69,6 +69,13 @@ jobs:
- name: Run e2e tests
shell: bash
run: E2E_SERIAL=1 ./scripts/tests.e2e.sh
- name: Upload tmpnet network dir
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-tmpnet-data
path: ${{ env.tmpnet_data_path }}
if-no-files-found: error
e2e_existing_network:
runs-on: ubuntu-latest
steps:
Expand All @@ -84,7 +91,14 @@ jobs:
run: ./scripts/build.sh -r
- name: Run e2e tests with existing network
shell: bash
run: E2E_SERIAL=1 ./scripts/tests.e2e.persistent.sh
run: E2E_SERIAL=1 ./scripts/tests.e2e.existing.sh
- name: Upload tmpnet network dir
uses: actions/upload-artifact@v4
if: always()
with:
name: e2e-existing-network-tmpnet-data
path: ${{ env.tmpnet_data_path }}
if-no-files-found: error
Upgrade:
runs-on: ubuntu-latest
steps:
Expand All @@ -99,6 +113,13 @@ jobs:
- name: Run e2e tests
shell: bash
run: ./scripts/tests.upgrade.sh
- name: Upload tmpnet network dir
uses: actions/upload-artifact@v4
if: always()
with:
name: upgrade-tmpnet-data
path: ${{ env.tmpnet_data_path }}
if-no-files-found: error
Lint:
runs-on: ubuntu-latest
steps:
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/cnr-build-test-release.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/cnr-codeql-analysis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/fuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '~1.20.10'
go-version: '~1.20.12'
check-latest: true
- name: Run fuzz tests
shell: bash
run: ./scripts/build_fuzz.sh 30 # Run each fuzz test 30 seconds
run: ./scripts/build_fuzz.sh 180 # Run each fuzz test 180 seconds
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

3 changes: 1 addition & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ run:
# Allowed values: readonly|vendor|mod
# By default, it isn't set.
modules-download-mode: readonly
skip-dirs:
- "tools/camino-network-runner"

output:
# Make issues output unique by line.
Expand Down Expand Up @@ -69,6 +67,7 @@ linters:
- nolintlint
- perfsprint
- prealloc
- predeclared
- revive
- staticcheck
- stylecheck
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# README.md
# go.mod
# ============= Compilation Stage ================
FROM golang:1.20.10-bullseye AS builder
FROM golang:1.20.12-bullseye AS builder

WORKDIR /build
# Copy and download caminogo dependencies using go mod
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (C) 2019-2023, Ava Labs, Inc.
Copyright (C) 2019-2024, Ava Labs, Inc.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ The minimum recommended hardware specification for nodes connected to Mainnet is

- CPU: Equivalent of 8 AWS vCPU
- RAM: 16 GiB
- Storage: 512 GiB
- Storage: 1 TiB
- Nodes running for very long periods of time or nodes with custom configurations may observe higher storage requirements.
- OS: Ubuntu 20.04/22.04 or macOS >= 12
- Network: Reliable IPv4 or IPv6 network connection, with an open public port.

If you plan to build Camino-Node from source, you will also need the following software:

- [Go](https://golang.org/doc/install) version >= 1.20.10
- [Go](https://golang.org/doc/install) version >= 1.20.12
- [gcc](https://gcc.gnu.org/)
- g++

Expand Down
41 changes: 33 additions & 8 deletions api/admin/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//
// Much love to the original authors for their work.
// **********************************************************
// Copyright (C) 2019-2023, Ava Labs, Inc. All rights reserved.
// Copyright (C) 2019-2024, Ava Labs, Inc. All rights reserved.
// See the file LICENSE for licensing terms.

package admin
Expand All @@ -17,7 +17,9 @@ import (
"context"

"github.com/ava-labs/avalanchego/api"
"github.com/ava-labs/avalanchego/database/rpcdb"
"github.com/ava-labs/avalanchego/ids"
"github.com/ava-labs/avalanchego/utils/formatting"
"github.com/ava-labs/avalanchego/utils/logging"
"github.com/ava-labs/avalanchego/utils/rpc"
)
Expand All @@ -35,9 +37,10 @@ type Client interface {
GetChainAliases(ctx context.Context, chainID string, options ...rpc.Option) ([]string, error)
Stacktrace(context.Context, ...rpc.Option) error
LoadVMs(context.Context, ...rpc.Option) (map[ids.ID][]string, map[ids.ID]string, error)
SetLoggerLevel(ctx context.Context, loggerName, logLevel, displayLevel string, options ...rpc.Option) error
SetLoggerLevel(ctx context.Context, loggerName, logLevel, displayLevel string, options ...rpc.Option) (map[string]LogAndDisplayLevels, error)
GetLoggerLevel(ctx context.Context, loggerName string, options ...rpc.Option) (map[string]LogAndDisplayLevels, error)
GetConfig(ctx context.Context, options ...rpc.Option) (interface{}, error)
DBGet(ctx context.Context, key []byte, options ...rpc.Option) ([]byte, error)
GetNodeSigner(ctx context.Context, _ string, options ...rpc.Option) (*GetNodeSignerReply, error)
}

Expand Down Expand Up @@ -111,7 +114,7 @@ func (c *client) SetLoggerLevel(
logLevel,
displayLevel string,
options ...rpc.Option,
) error {
) (map[string]LogAndDisplayLevels, error) {
var (
logLevelArg logging.Level
displayLevelArg logging.Level
Expand All @@ -120,29 +123,31 @@ func (c *client) SetLoggerLevel(
if len(logLevel) > 0 {
logLevelArg, err = logging.ToLevel(logLevel)
if err != nil {
return err
return nil, err
}
}
if len(displayLevel) > 0 {
displayLevelArg, err = logging.ToLevel(displayLevel)
if err != nil {
return err
return nil, err
}
}
return c.requester.SendRequest(ctx, "admin.setLoggerLevel", &SetLoggerLevelArgs{
res := &LoggerLevelReply{}
err = c.requester.SendRequest(ctx, "admin.setLoggerLevel", &SetLoggerLevelArgs{
Secret: Secret{c.secret},
LoggerName: loggerName,
LogLevel: &logLevelArg,
DisplayLevel: &displayLevelArg,
}, &api.EmptyReply{}, options...)
}, res, options...)
return res.LoggerLevels, err
}

func (c *client) GetLoggerLevel(
ctx context.Context,
loggerName string,
options ...rpc.Option,
) (map[string]LogAndDisplayLevels, error) {
res := &GetLoggerLevelReply{}
res := &LoggerLevelReply{}
err := c.requester.SendRequest(ctx, "admin.getLoggerLevel", &GetLoggerLevelArgs{
Secret: Secret{c.secret},
LoggerName: loggerName,
Expand All @@ -161,3 +166,23 @@ func (c *client) GetNodeSigner(ctx context.Context, _ string, options ...rpc.Opt
err := c.requester.SendRequest(ctx, "getNodeSigner", Secret{c.secret}, res, options...)
return res, err
}

func (c *client) DBGet(ctx context.Context, key []byte, options ...rpc.Option) ([]byte, error) {
keyStr, err := formatting.Encode(formatting.HexNC, key)
if err != nil {
return nil, err
}

res := &DBGetReply{}
err = c.requester.SendRequest(ctx, "admin.dbGet", &DBGetArgs{
Key: keyStr,
}, res, options...)
if err != nil {
return nil, err
}

if err := rpcdb.ErrEnumToError[res.ErrorCode]; err != nil {
return nil, err
}
return formatting.Decode(formatting.HexNC, res.Value)
}
Loading