Justin Starry
831ed96730
feat: add getMultipleParsedAccounts method ( #28414 )
2022-10-16 07:26:08 +00:00
samkim-crypto
00b1d0930f
[zk-token-sdk] Restructure proof error types ( #28407 )
...
* add pubkey sigma proof
* cargo fmt
* add EncryptionError
* add encryption errors
2022-10-16 07:06:57 +09:00
steviez
39fa297bf6
Report total_transactions in replay-slot-stats ( #28382 )
...
We have transactions counted in replay-slot-end-to-end-stats, but that
metric is broken down to report things per thread.
So, report total_transactions for the entire slot (all threads) in
replay-slot-stats.
2022-10-15 14:07:03 +01:00
Tyera Eulberg
235da8c538
chore: bump serde_yaml from 0.8.26 to 0.9.13 ( #28388 )
...
* chore: bump serde_yaml from 0.8.26 to 0.9.13 (#27970 )
* chore: bump serde_yaml from 0.8.26 to 0.9.13
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.8.26 to 0.9.13.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.26...0.9.13 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
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>
* Prepend ---
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>
2022-10-14 22:02:39 -06:00
Yueh-Hsuan Chiang
6a96a4c2ee
Add comment block for ErasureMeta ledger column ( #28356 )
...
Add comment block for ErasureMeta ledger column.
2022-10-14 12:59:34 -07:00
Yueh-Hsuan Chiang
4539cb75fb
Add comment block for SlotMeta column family ( #28339 )
...
Add comment block for SlotMeta column family.
2022-10-14 12:56:56 -07:00
Jeff Washington (jwash)
0807105c5a
refactoring of accounts hash to prepare for using files always ( #28379 )
2022-10-14 12:29:43 -07:00
Brooks Prumo
31c2b29941
Sends both an EAH and a snapshot request from `set_root()` ( #28363 )
2022-10-14 11:00:04 -04:00
samkim-crypto
bc927097ce
[zk-token-sdk] add pubkey proof ( #28392 )
...
* add pubkey proof
* add pubkey sigma proof
* add docs for the sigma proof functions
* add pod public key sigma proof
* add public-key validity proof instruction
* add public-key validity proof instruction
* add VerifyPubkeyValidity instruction
* cargo fmt
2022-10-14 20:15:20 +09:00
Justin Starry
c38bca9932
Explorer: Refactor account provider data types ( #28390 )
2022-10-14 06:41:32 +00:00
Justin Starry
d40875fbec
Explorer: Refactor token instruction name utility function ( #28391 )
2022-10-14 06:31:23 +00:00
Justin Starry
36e5f33e67
feat: add dataSlice param to account fetching config ( #28389 )
2022-10-14 03:28:00 +00:00
Justin Starry
f627b7d826
Explorer: Disable cluster url replacement on localhost ( #28385 )
2022-10-14 01:38:39 +00:00
Brooks Prumo
dd7fee8f32
Re-enqueues unhandled ABS requests ( #28362 )
2022-10-13 16:25:39 -04:00
Yueh-Hsuan Chiang
5df10173dd
Add comment block for BankHash ledger column ( #28357 )
...
Add comment block for BankHash ledger column.
2022-10-13 11:41:58 -07:00
Brooks Prumo
9cbd00fdbc
Converts PendingAccountsPackage to a channel ( #28352 )
2022-10-13 12:47:36 -04:00
Jeff Washington (jwash)
72d6927fa1
factor out hashing of storages for caching ( #28261 )
2022-10-13 08:53:54 -07:00
Dmitri Makarov
d6813b98d2
chore: move programs/bpf to programs/sbf
2022-10-13 11:40:40 -04:00
Justin Starry
2562e1b296
Explorer: Fix transaction inspector simulation ( #28375 )
2022-10-13 12:32:17 +00:00
Peter Piekarczyk
759dc80fb6
chore: improve default PublicKey docs ( #28372 )
...
* docs: replace zeros comments with ones
* Update comment around docs
2022-10-12 20:04:22 -06:00
steviez
b8acb1b350
Fix blockstore_processor::load_frozen_forks() halt_at_slot behavior II ( #28367 )
...
PR #28317 previously attempted to fix a case where blockstore processing
would create children banks for slots past the halt_at_slot.
However, the previous fix didn't handle the case where a slot could be
strictly less than the halt_at_slot, but have children that were greater
than the halt_at_slot. For example, this could happen if a child of slot
S is S+n where n > 1.
Thus, this change covers our processing logic to cover this second case
as well.
2022-10-12 17:24:27 -05:00
Lijun Wang
8036f6f304
Address some comments from Ryan
2022-10-12 14:12:40 -07:00
Lijun Wang
56b9288f9e
Give better error code and reason for connection close
2022-10-12 14:12:40 -07:00
Jeff Washington (jwash)
53a1a14868
eliminate worthless work in store_accounts_to ( #28365 )
2022-10-12 13:30:20 -07:00
Satyam Bansal
c5e59a081c
Fix Grammatical mistake on Get Started documentation page ( #28347 )
...
Fix Grammatical mistake
Fix Grammatical mistake on Get started page
2022-10-12 16:50:19 +00:00
Alexander Meißner
664339e239
Refactor - executor_cache ( #28332 )
...
* Renames CachedExecutors => BankExecutorCache.
* Renames TransactionExecutor => TransactionExecutorCacheEntry.
* Renames TransactionExecutorStatus => TxBankExecutorCacheDiff.
* Adds TransactionExecutorCache.
* Renames the items of TxBankExecutorCacheDiff.
2022-10-12 18:09:03 +02:00
Yihau Chen
9fe46bb038
chore: send slack notification when Github Action fails ( #28310 )
...
chore: send slack notification when github action fails
2022-10-12 15:52:00 +08:00
samkim-crypto
3f63283eda
add curve25519 multiscalar multiplication syscall ( #28216 )
...
* add curve25519 multiscalar multiplication syscall
* update compute unit costs
* update tests
* add update to compute budget
* add syscall call function
* update compute costs in tests
* update syscall syntax
2022-10-12 14:43:02 +09:00
Kevin Heavey
061bed0a8c
More missing derives ( #27418 )
...
* add Eq, PartialEq to EpochInfo
* add Eq, PartialEq related to transactions and messages
* add Eq, PartialEq to Ed25519SignatureOffsets
* add Eq, PartialEq to FeatureSet
* add Eq, PartialEq to fee.rs
* add Eq, PartialEq to GenesisConfig
* don't add Eq to GenesisConfig because floats
* add Eq, PartialEq to PohConfig
* add Eq, PartialEq to SecpSignatureOffsets
* add some missing derives to transaction_context.rs
* add Eq, PartialEq to ProcessedSiblingInstruction
2022-10-11 12:59:58 -07:00
steviez
db9e32d71d
Revert "log adding root every 10s ( #28280 )" ( #28334 )
...
This reverts commit 16853acf35
.
We get similar coverage from the slot field of bank-forks_set_root;
additionally, we can see banks with bank-new_from_parent-heights.
2022-10-11 12:49:49 -05:00
Brooks Prumo
020cc090d5
Refactors ABS snapshot request handling ( #28326 )
2022-10-11 13:17:06 -04:00
Jason Davis
e2fc9d51de
Increase cpu metric reporting interval from 1s to 10s
2022-10-11 10:44:59 -05:00
Ian Macalinao
cdf77bb824
runtime: fix typo 'transaction' ( #27948 )
2022-10-11 07:47:10 -07:00
Jeff Washington (jwash)
7a120b8b62
accounts_db::load returns None for zero lamport accounts ( #28311 )
2022-10-11 07:43:03 -07:00
Kevin Heavey
391c15bb5b
remove unused deps from solana-stake-program ( #27929 )
...
Co-authored-by: Kevin Heavey <ID+username@users.noreply.github.com>
2022-10-11 07:39:02 -07:00
Justin Starry
33a328e589
feat: add getParsedBlock method to Connection ( #28345 )
...
* feat: add getParsedBlock method to Connection
* Update web3.js/src/connection.ts
Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: Yihau Chen <a122092487@gmail.com>
2022-10-11 16:13:10 +08:00
Justin Starry
928730ac94
Explorer: Support additional bpf upgradeable loader instructions ( #28342 )
2022-10-11 06:27:58 +00:00
Justin Starry
bcbf4c7fb3
Explorer: Support displaying closed program accounts ( #28336 )
2022-10-11 03:11:15 +00:00
Eloy
27a0857121
Documentation fixes and improvements ( #28312 )
...
* Fix CONTRIBUTING.md docs, accepted/implemented proposals links
* Add Fedora Linux needed packages in README.md
* Remove trailing whitespace
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-10-11 02:17:15 +00:00
Jeff Biseda
15050b14b9
use signed repair request variants ( #28283 )
2022-10-10 14:09:45 -07:00
steviez
2929c8f7a2
Fix blockstore_processor::load_frozen_forks() halt_at_slot behavior ( #28317 )
...
load_frozen_forks() finds new slots to process by creating new Banks for
the children of the current slot in process_next_slots(). Prior to this
change, we would then immediately check if we had reached the
halt_at_slot and correctly halt processing when appropriate. As such, it
would be possible for Banks to be created for slots beyond the
halt_at_slot.
While a potential child slot that is past halt_at_slot wouldn't be
replayed, the Bank being created still alters some universal state in
AccountsDb. So, this change moves the halt_at_slot check before we
create children Banks in process_next_slots().
2022-10-10 14:37:23 -05:00
Justin Starry
cc390f176c
RPC: Fix ATA create instruction parsing ( #28314 )
2022-10-10 20:24:10 +02:00
Brooks Prumo
d500391006
Removes redundant accounts_package_type ( #28325 )
2022-10-10 17:11:38 +00:00
Brooks Prumo
5a08eed82d
Cleans up debugging code in EAH tests ( #28324 )
2022-10-10 16:07:55 +00:00
Brooks Prumo
27cd2c324e
Adds tests for EAH and snapshot interactions ( #28304 )
2022-10-10 10:16:13 -04:00
Alexander Meißner
2fc8e533a2
Refactor - Move `executor_cache` to program-runtime crate ( #28322 )
...
* Moves CachedExecutors, related structs, consts and tests into the program-runtime crate.
* Moves TransactionExecutor, related enum and type defs into executor_cache mod.
2022-10-10 15:01:41 +02:00
Yihau Chen
4cbf59a5dd
docs: fix exchanges integration ( #28315 )
...
* fix description
* get blocks use devnet data
2022-10-10 05:03:44 +00:00
Yueh-Hsuan Chiang
1224c545d5
Make FIFO related validator arguments public ( #28282 )
...
#### Summary of Changes
This PR makes two FIFO-related validator arguments public:
--rocksdb_shred_compaction and --rocksdb_fifo_shred_storage_size.
#### Test Plan
* There're already ~26 validators running FIFO in mainnet-beta for more than 30 days,
no issues were reported so far.
* Ran a validator with FIFO for days and observed it's able to consistently catch up
and create new roots.
2022-10-09 16:42:59 -07:00
steviez
60f6e24b76
Make Blockstore::get_entries_in_data_block() use multi_get() ( #28245 )
2022-10-09 15:34:03 -04:00
steviez
624f5cfcd5
Add rocksdb multi_get_bytes() method ( #28244 )
2022-10-07 18:05:13 -04:00