Yihau Chen
1ce91a56a5
ci: fixed sccache version for sccache-action ( #33904 )
2023-10-27 16:51:34 +00:00
Joe C
ecd674bd92
revert programify feature gate ( #33897 )
2023-10-27 18:28:13 +02:00
Daniel Porteous (dport)
01603fdd1d
Fix typo in versioned-transactions.md ( #33902 )
2023-10-27 09:45:24 -06:00
Jeff Washington (jwash)
a18debc34a
allow test feature to skip rewrites ( #33851 )
...
* allow test feature to skip rewrites
* hook up cli arg for test skip rewrites, update tests
* fix sanity checker
* add account hash to abi to fix a test
* reviews
* use hashmap to collect skip_rewrites. exclude skip_rewrites from dirty
pubkey set
* accumulate skipped_rewrite in reduce
* mutex
* fmt
* skip hash verify for this test flag
* add skipped rewrites num stat
* skip bank hash verify not account hash verify
* reviews
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-10-27 09:14:05 -05:00
dependabot[bot]
f6bce134c5
build(deps): bump serde from 1.0.189 to 1.0.190 ( #33877 )
...
* build(deps): bump serde from 1.0.189 to 1.0.190
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.189 to 1.0.190.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.189...v1.0.190 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-10-27 13:20:20 +00:00
dependabot[bot]
372af8d3aa
build(deps): bump ahash from 0.8.5 to 0.8.6 ( #33878 )
...
* build(deps): bump ahash from 0.8.5 to 0.8.6
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.8.5 to 0.8.6.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits )
---
updated-dependencies:
- dependency-name: ahash
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-10-27 13:19:05 +00:00
Ryo Onodera
950ca5ea86
Add InstalledScheduler for blockstore_processor ( #33875 )
...
* Add InstalledScheduler for blockstore_processor
* Reverse if clauses
* Add more comments for process_batches()
* Elaborate comment
* Simplify schedule_transaction_executions type
2023-10-27 21:42:18 +09:00
Brooks
d04ad6557d
Fastboots by default ( #33883 )
2023-10-27 07:23:29 -04:00
Brooks
a2138dba98
snapshot test requires using snapshot archives at startup ( #33885 )
2023-10-27 00:26:51 -04:00
Ryo Onodera
0873705c1b
Define register_unique_recent_blockhash_for_test ( #33880 )
2023-10-27 12:30:45 +09:00
Ryo Onodera
080285cb95
Adjust solana-core for cleaner scheduler-pr diff ( #33881 )
2023-10-27 12:29:41 +09:00
Tao Zhu
510b6b949f
Split compute budget instructions process from struct ( #33852 )
...
* Split compute budget instruction processing from ComputeBudget struct itself, so CB instructions can be processed elsewhere without involving ComputeBudget
* updated tests
* avoid built ComputeBudget from dated ComputeBudgetLimits in this refactoring PR
* Clean-up program-runtime/src/compute_budget_processor.rs
* Add test for a corner case that deprecated instruction is used to request units greater than max limit;
* Update code to handle the corner case.
2023-10-26 22:12:56 -05:00
Andrew Fitzgerald
ba112a021a
TransactionScheduler: SchedulerController ( #33825 )
2023-10-27 09:30:51 +08:00
Pankaj Garg
2a5ec4acf8
Cleanup cargo registry code ( #33879 )
2023-10-26 12:58:20 -07:00
Tyera
7048e72d81
Blockstore: only return block times for rooted slots ( #33871 )
...
* Add Blockstore::get_rooted_block_time method and use in RPC
* Un-pub get_block_time
2023-10-26 11:38:58 -06:00
Tyera
22503f0ae9
BigtableUploadService: increment start_slot to prevent rechecks ( #33870 )
...
Increment start_slot
2023-10-26 09:21:20 -06:00
steviez
a799a90a62
Update upload_confirmed_blocks() return value when no blocks to upload ( #33861 )
...
upload_confirmed_blocks() states that it will return the passed in
ending_slot when there are no blocks to upload. This is enforced in one
early return but not the other. The result is that BigTableUploadService
could potentially get stuck in a loop of trying to upload the same slot.
While this case seems to be caused when an operator restarts their node
without --no-snapshot-fetch (which can cause a gap in blockstore), we
can still be friendly and allow them to break out of this loop.
2023-10-26 10:34:07 +02:00
Pankaj Garg
70107e2196
Retrieve crate version from cargo-registry package ( #33867 )
2023-10-25 12:27:57 -07:00
behzad nouri
e555a61c78
adds metrics to repair QUIC endpoint ( #33818 )
2023-10-25 18:59:14 +00:00
dependabot[bot]
a851670d54
build(deps): bump bytecount from 0.6.4 to 0.6.7 ( #33857 )
...
Bumps [bytecount](https://github.com/llogiq/bytecount ) from 0.6.4 to 0.6.7.
- [Commits](https://github.com/llogiq/bytecount/commits )
---
updated-dependencies:
- dependency-name: bytecount
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-25 17:44:18 +00:00
dependabot[bot]
3e21361534
build(deps): bump rustls from 0.21.7 to 0.21.8 ( #33855 )
...
* build(deps): bump rustls from 0.21.7 to 0.21.8
Bumps [rustls](https://github.com/rustls/rustls ) from 0.21.7 to 0.21.8.
- [Release notes](https://github.com/rustls/rustls/releases )
- [Commits](https://github.com/rustls/rustls/compare/v/0.21.7...v/0.21.8 )
---
updated-dependencies:
- dependency-name: rustls
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-10-25 17:43:58 +00:00
Pankaj Garg
bdfb644122
Append crate to ELF file while deploying program ( #33849 )
...
* Append crate to ELF file while deploying program
* review feedback
2023-10-25 09:04:44 -07:00
Brooks
bd1080b26f
Adds AtomicAge to bucket map holder ( #33841 )
2023-10-25 10:47:21 -04:00
Kevin Heavey
af7fd32f4c
chore: fix some typos ( #33833 )
...
* fix spelling of "retrieved"
* fix spelling of "should"
* fix spelling of "comparisons"
2023-10-25 16:21:53 +02:00
Pankaj Garg
78c31aa6b8
Use program cache fork graph in extract() ( #33806 )
...
* Use program cache fork graph instead of WorkingSlot trait
* Fix deadlocked tests
* keep WorkingSlot trait for now
2023-10-25 06:04:38 -07:00
Ashwin Sekar
a3b0348649
docs: outline requirement of stake in order to vote ( #33842 )
...
* docs: outline requirement of stake in order to vote
* pr feedback: move stake section up
2023-10-25 00:45:07 -04:00
steviez
9ffbe2afd8
Replace several .expect() statements with error handling ( #33783 )
2023-10-24 23:48:21 +02:00
Brooks
612e8e8457
Removes Default and pub from CumulativeOffset ( #33840 )
2023-10-24 19:22:34 +00:00
Brooks
abf51864b4
Removes `#[allow(dead_code)]` in StorableAccounts impl ( #33821 )
2023-10-24 18:31:27 +00:00
HaoranYi
9064b8b2a2
Optimize account hash CumulativeOffset index from vec to 2-element array ( #33839 )
...
* optimize account hash merkle tree index from vec to 2-element array
* typo
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-10-24 18:26:16 +00:00
samkim-crypto
381d2254eb
[zk-token-sdk] Check that discrete log compression batch size is greater than 0 ( #33699 )
...
check that discrete log compression batch size is greater than 0
2023-10-24 11:11:28 -07:00
behzad nouri
6470544ea2
adds metrics to turbine QUIC endpoint ( #33819 )
2023-10-24 14:59:15 +00:00
samkim-crypto
c3d588b3f1
[zk-token-sdk] clean-up range-proof docs ( #33803 )
...
* add/fix docs for range proof
* remove pre-compute generators todo
* remove double check generators todo
2023-10-24 07:53:48 -07:00
Sean Young
8e0acf481c
Update Solang Solidity compiler to v0.3.3 ( #33830 )
...
Signed-off-by: Sean Young <sean@mess.org>
2023-10-24 14:24:54 +01:00
dependabot[bot]
540fc2e2fe
build(deps): bump base64 from 0.21.4 to 0.21.5 ( #33827 )
...
* build(deps): bump base64 from 0.21.4 to 0.21.5
Bumps [base64](https://github.com/marshallpierce/rust-base64 ) from 0.21.4 to 0.21.5.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md )
- [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.21.4...v0.21.5 )
---
updated-dependencies:
- dependency-name: base64
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-10-24 13:17:52 +00:00
dependabot[bot]
2c1ce0f460
build(deps): bump ahash from 0.8.4 to 0.8.5 ( #33826 )
...
* build(deps): bump ahash from 0.8.4 to 0.8.5
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: ahash
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-10-24 13:17:29 +00:00
Brooks
2f024f0cc1
Uses AccountHash in CalculateHashIntermediate ( #33822 )
2023-10-24 08:39:32 -04:00
Andrew Fitzgerald
b0dcaf29e3
TransactionScheduler: Consume Scheduler w/ PrioGraph ( #33612 )
2023-10-24 11:33:04 +08:00
Nick Guo
8954689e1e
Fix typos in documentation for Secp256k1 native program ( #33796 )
2023-10-24 00:42:45 +02:00
Jeff Washington (jwash)
b0b4e1f0c0
remove IncludeSlotInHash after feature activation on mnb ( #33816 )
...
* remove IncludeSlotInHash after feature activation on mnb
* fix compile errors
* compile errors
* fix tests
* fix test results
2023-10-23 15:12:02 -07:00
Illia Bobyr
a099c7a0b8
zeroize: Allow versions newer than 1.3 for `curve25519-dalek` ( #33516 )
...
`curve25519-dalek` v3.2.1 has a constraint on the maximum `zeroize`
version to be no more than 1.3.
At the same time, `cargo` does not want to construct a dependency graph
with duplicate instances of a crate, when the first non-zero version of
those instances are the same. That is, it refuses to build a workspace
with both 1.3 and 1.4 versions of `zeroize`.
`zeroize` is actually backward compatible, and `curve25519-dalek`
restriction is overly pessimistic. These packages lifted this
restriction in newer versions, but we still depend on older version and
can not immediately update.
2023-10-23 12:19:59 -07:00
Jeff Washington (jwash)
54b796f5a1
ancient pack: add low water mark ( #33785 )
2023-10-23 10:56:18 -07:00
Pankaj Garg
0fc2c9f214
Cargo registry server updates to download crates ( #33805 )
2023-10-23 10:25:51 -07:00
Lijun Wang
1e8aa522bd
Made geyser interface repr(c) to improve interface stability ( #33703 )
...
* Made geyser interface repr(c) to improve interface stability
2023-10-23 09:59:07 -07:00
Pankaj Garg
9d42cd7efe
Initialize fork graph in program cache during bank_forks creation ( #33810 )
...
* Initialize fork graph in program cache during bank_forks creation
* rename BankForks::new to BankForks::new_rw_arc
* fix compilation
* no need to set fork_graph on insert()
* fix partition tests
2023-10-23 09:32:41 -07:00
HaoranYi
669bc43bcd
Buffer account's fields for hash ( #33788 )
...
* buffer accounts field for hash
* use smallvec to allocate hash buffer on stack
* sort deps
* more opt
* clippy
---------
Co-authored-by: HaoranYi <haoran.yi@solana.com>
2023-10-23 09:48:17 -05:00
Jeff Washington (jwash)
a41b24f185
fix some ancient stats ( #33791 )
2023-10-23 07:23:47 -07:00
Jeff Washington (jwash)
34103e0913
typo in variable name ( #33801 )
2023-10-23 07:23:11 -07:00
Yihau Chen
7d56c3484c
test: check the existence of target_path_parent before detelting ( #33812 )
2023-10-23 14:14:34 +00:00
dependabot[bot]
cb736123b2
build(deps): bump ahash from 0.8.3 to 0.8.4 ( #33814 )
...
* build(deps): bump ahash from 0.8.3 to 0.8.4
Bumps [ahash](https://github.com/tkaitchuck/ahash ) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/tkaitchuck/ahash/releases )
- [Commits](https://github.com/tkaitchuck/ahash/commits )
---
updated-dependencies:
- dependency-name: ahash
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2023-10-23 14:04:45 +00:00