Justin Starry
2b5e00d36d
Limit number of accounts that a transaction can lock ( #22201 )
2022-01-04 14:25:23 +08:00
Victor Pontis
8b6310b179
fix: add owner to token balance type
2022-01-03 20:31:42 -08:00
Yueh-Hsuan Chiang
e8b7f96a89
Add struct BlockstoreOptions ( #22121 )
2022-01-03 18:30:45 -10:00
Victor Pontis
33ad74fbcd
chore: add encoding param to getMultipleAccounts
2022-01-03 19:26:03 -08:00
Michael Vines
6895eb7ef6
Correctly set CI_COMMIT when Buildkite provides HEAD instead of a real commit
2022-01-03 17:39:20 -08:00
Michael Vines
25cb859ed0
Switch from arm64-apple-darwin to aarch64-apple-darwin to align with Rust's target names
2022-01-03 16:54:46 -08:00
Lijun Wang
5b6027bef0
Fixed issue #22124 -- missing historical data if slot updated later. ( #22193 )
...
* Fixed issue #22124 -- missing historical data if slot updated later.
* Fixed a couple of comments
2022-01-03 16:10:44 -08:00
Michael Vines
ed0b47c6f8
Use experimential docker virtualization framework for arm64
2022-01-03 15:57:06 -08:00
steviez
20b61e28b6
Flip iter operations to keep associated address/header/packets together ( #22245 )
...
Flip iter operations to keep associated address/header/packets together
Before this change, if cast_socket_addr() returned a None for any
address/header pair, the subsequent zip() would misalign the
address/header pair and packet. So, this change zips all three together,
then does filter_map() so keep things aligned.
Additionally, compute total_size inline to avoid running through packets
a second time.
2022-01-03 17:15:50 -06:00
Alexander Meißner
73e6038986
Refactor: Remove `KeyedAccount` from program runtime ( #22226 )
...
* Makes error handling in BorrowedAccount optional.
Adds BorrowedAccount ::get_rent_epoch().
Exposes InstructionContext::get_index_in_transaction().
Turns accounts and account_keys into pinned boxed slices.
* Introduces "unsafe" to InvokeContext::push().
* Turns &TransactionContext into &mut TransactionContext in InvokeContext.
* Push and pop InstructionContext in InvokeContext.
Makes test_process_cross_program and test_native_invoke symmetric.
Removes the borrow check from test_invoke_context_verify.
* Removes keyed_accounts from prepare_instruction()
* Removes usage of invoke_stack.
* Removes keyed_accounts from program-test.
* Removes caller_write_privileges.
* Removes keyed_accounts from BPF parameter (de-)serialization.
2022-01-03 23:30:56 +01:00
dependabot[bot]
672fed04cb
Bump serde from 1.0.132 to 1.0.133 ( #22233 )
...
* Bump serde from 1.0.132 to 1.0.133
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.132 to 1.0.133.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.133 )
---
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
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-01-03 22:19:39 +00:00
carllin
005592998d
Fix bug, add error specific timings ( #22225 )
2022-01-03 16:33:54 -05:00
behzad nouri
69d71f8f86
removes epoch_authorized_voters from VoteTracker ( #22192 )
...
https://github.com/solana-labs/solana/pull/22169
verifies authorized-voter early on in vote-listener pipeline; and so
VoteTracker no longer needs to maintain and check for epoch authorized
voters.
2022-01-03 21:07:47 +00:00
Michael Vines
b18462737e
Correctly set CI_OS_NAME for macOs buildkite agents
2022-01-03 12:54:05 -08:00
Michael Vines
53777f2fbf
Add support for arm64-apple-darwin release/channel artifacts
2022-01-03 12:42:57 -08:00
Justin Starry
bbe5b66324
Prevent lookup tables from being closed during deactivation slot ( #22221 )
2022-01-04 04:42:29 +08:00
Jeff Biseda
0e4ede46d1
work around rust 39364 for stats_reporter_sender ( #22227 )
2022-01-03 11:46:02 -08:00
Tyera Eulberg
9029b46570
Fix token-balance owner type in docs ( #22240 )
2022-01-03 18:00:13 +00:00
dependabot[bot]
ecbfc70bfa
Bump serde_json from 1.0.73 to 1.0.74 ( #22231 )
...
* Bump serde_json from 1.0.73 to 1.0.74
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.73 to 1.0.74.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.73...v1.0.74 )
---
updated-dependencies:
- dependency-name: serde_json
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
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-01-03 10:36:59 -07:00
Michael Vines
56fd32bda2
Remove Xargo.toml reference
2022-01-03 17:12:45 +00:00
Brooks Prumo
04b76eb066
Use AtomicUsize for next_bucket_to_flush ( #22095 )
2022-01-03 10:35:35 -06:00
Jeff Washington (jwash)
fb62407232
AcctIdx: appendvecid: u32 ( #21842 )
2022-01-03 10:35:17 -06:00
Justin Starry
2a00382d71
Refactor: cleanup solana_transaction_status crate ( #22230 )
2022-01-03 15:45:18 +00:00
axleiro
86acd8f6f9
Update .gitignore
2022-01-03 19:30:09 +05:30
joeaba
64b153fae0
connected github with vercel for preview deploy
2022-01-03 19:20:36 +05:30
Justin Starry
ce6c76e45f
Remove unused serialization attributes from transaction status types ( #22228 )
2022-01-03 16:20:57 +08:00
Alexander Meißner
d6ec103bee
Bump rbpf to v0.2.21 ( #22216 )
2022-01-01 20:22:48 +00:00
Tao Zhu
a2a7e91ad6
set secp256k1 cost similar to sigverify
2021-12-31 17:45:50 -06:00
Tao Zhu
d743c2917c
re-calibrate limit based on mainnet data, see issue #21917
2021-12-31 17:45:50 -06:00
Tyera Eulberg
0b1b36f088
Exit early on BigTable error ( #22200 )
2021-12-31 13:36:57 -07:00
Alexander Meißner
8a43e2d889
Bump solana_rbpf to version v0.2.20 ( #22164 )
2021-12-31 19:50:45 +01:00
Alexander Meißner
e529d03c11
Cleanup #22182 ( #22205 )
...
* Turns compute_units_consumed of ProcessInstructionResult into a &mut parameter.
* Removes second nesting level from test_process_instruction_compute_budget().
* Makes test_process_cross_program and test_native_invoke symmetric.
* Unifies test_process_cross_program(), test_native_invoke() and test_process_instruction_compute_budget() into test_process_instruction().
2021-12-31 17:55:27 +01:00
Yueh-Hsuan Chiang
557d35ec79
Remove duplicate code in ledger_cleanup_compaction_test ( #22204 )
2021-12-31 11:19:33 -05:00
Yueh-Hsuan Chiang
94a9b712b6
Fix check failure on ( #22202 )
2021-12-30 23:48:26 -10:00
Yueh-Hsuan Chiang
f479ab7af2
ledger_cleanup test improvement (1/N) -- make the test lockless and simplify the logic ( #22090 )
2021-12-30 20:18:47 -10:00
carllin
d06e6c7425
Count compute units even when transaction errors ( #22182 )
2021-12-30 21:21:42 -05:00
Jeff Biseda
95dfcc546a
bypass retransmission for slots without propagated stats ( #22176 )
2021-12-30 16:07:34 -08:00
Jacob Creech
4e4577afbe
chore: update transaction error links in docs ( #22189 )
2021-12-31 06:05:29 +08:00
Victor Wu
736f974082
chore: fix typo in AccountInfo docs ( #22196 )
2021-12-31 06:03:42 +08:00
behzad nouri
d421ccb330
simplifies parse [sanitized] vote transaction ( #22127 )
2021-12-30 16:03:03 +00:00
behzad nouri
c0c6038654
checks for authorized voter early on in the vote-listener pipeline ( #22169 )
...
Before votes are verified that they are signed by the authorized voter,
they might be dropped in verified-vote-packets code. If there are
enough many spam votes from unauthorized voters, this may potentially
drop valid votes but keep the false ones.
https://github.com/solana-labs/solana/blob/57986f982/core/src/verified_vote_packets.rs#L165-L168
2021-12-30 15:03:14 +00:00
Alexander Meißner
edb20d6909
Splits index of InstructionAccount into index_in_transaction and index_in_caller. ( #22165 )
2021-12-30 15:46:36 +01:00
Justin Starry
3f88994e0f
explorer: Fix setting custom RPC URL ( #22187 )
2021-12-30 19:50:08 +08:00
Pierre
29edb130cc
Update install/src/command.rs
...
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2021-12-30 00:47:46 -08:00
Arrowana
3c1416091e
Add connect timeout and change overall timeout to None
2021-12-30 00:47:46 -08:00
Arrowana
a1912f8400
fix: Installer increase download req timeout from 30 seconds to 6 minutes
2021-12-30 00:47:46 -08:00
Justin Starry
70f6aff07f
explorer: Bump @solana/spl-token-registry to 0.2.1143 ( #22183 )
2021-12-30 08:24:15 +00:00
carllin
33d0b5e011
Revert "Count compute units even when transaction errors ( #22059 )" ( #22174 )
...
This reverts commit eaa8c67bde
.
2021-12-30 02:42:32 -05:00
Lijun Wang
135af08b8b
Add docs for notifying transactions via plugin ( #22097 )
...
* Added documentations for streaming transactions via plugin
* Updated comments for transaction info
* Updated doc on transaction format
* Removed a white space
* Apply suggestions from code review from Tyera
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-12-29 16:22:13 -08:00
Kirill Fomichev
972730924b
fix: add Sysvar PubKeys
...
* web3.js: Add Sysvar PubKeys
* remove fees sysvar
2021-12-29 16:30:34 -07:00