2f3fced8a8
Switch account hashing to blake3 ( #11969 ) ( #11992 )
...
* Switch account hashing to blake3
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit af08221aec
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-02 08:40:07 +00:00
a5832366a7
Detect and notify when deserializable shreds are available (bp #11816 ) ( #11988 )
...
* Detect and notify when deserializable shreds are available (#11816 )
* Add logic to check for complete data ranges
* Add RPC signature notification
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 1c1a3f979d
)
# Conflicts:
# accounts-bench/Cargo.toml
# core/src/rpc_pubsub.rs
* Fix conflicts
Co-authored-by: carllin <wumu727@gmail.com >
Co-authored-by: Carl <carl@solana.com >
2020-09-02 06:38:10 +00:00
f26ff6d6b2
Docs.rs version replacement ( #11981 ) ( #11982 )
...
(cherry picked from commit b720921c83
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-09-01 13:52:57 -06:00
57f149e415
Ensure that the spl-token 2 native mint account is owned by the spl-token 2 program. ( #11974 )
...
Workaround for https://github.com/solana-labs/solana-program-library/issues/374 until spl-token 3 is shipped
(cherry picked from commit 7341e60043
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-09-01 18:16:22 +00:00
8ece3847f9
Add tests for the Debug and activation Vecs ( #11926 ) ( #11968 )
...
* Add tests for the Debug and activation Vecs
* Rename a bit
(cherry picked from commit 11ac4eb21d
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-09-01 09:54:27 +00:00
0d23ad00b1
Update to rayon 1.4.0 ( #11898 ) ( #11902 )
...
(cherry picked from commit c4253dc0f9
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-09-01 04:53:39 +00:00
d9684f99c3
Remove log ( #11949 ) ( #11961 )
...
Co-authored-by: Carl <carl@solana.com >
(cherry picked from commit 7641b60a2b
)
Co-authored-by: carllin <wumu727@gmail.com >
2020-09-01 01:05:20 +00:00
6ea9c249d7
Add missing backslash to solana-validator command ( #11958 )
...
(cherry picked from commit a19f696a42
)
Co-authored-by: Richard Ayotte <rich.ayotte@gmail.com >
2020-08-31 23:43:22 +00:00
1e02069f86
Increase message_processor logging to error level ( #11945 ) ( #11948 )
...
(cherry picked from commit 9b9d559312
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-31 21:26:35 +00:00
b179ed0b90
Remove encrypted secrets not required by the main public CI (bp #11942 ) ( #11944 )
...
* Remove unused GEOLOCATION_API_KEY
(cherry picked from commit f78594dfc1
)
* Remove secrets not required by the main public CI
(cherry picked from commit 278f2fe078
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-31 18:59:52 +00:00
eb65ff750e
Simplify get_programs(), specify a real Preview activation epoch for new BPFLoader ( #11930 )
...
(cherry picked from commit f385af25e5
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-31 17:21:07 +00:00
663dc9959f
Bump version to v1.3.8
2020-08-31 10:18:42 -07:00
53ed6a2298
Fix use-deprecated-loader arg ( #11921 ) ( #11929 )
...
(cherry picked from commit 6234909373
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-31 09:53:34 +00:00
47962f3e80
Use DNS for devnet/testnet entrypoints ( #11922 )
...
(cherry picked from commit e4d7e1fe3f
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-31 07:53:02 +00:00
d3a16e4e13
Bump RPC banks up 1 port to avoid web3.js wss port conflict
...
(cherry picked from commit f8bb93a0f4
)
v1.3.7
2020-08-30 23:56:19 -07:00
250f5a8196
Add new trusted validator for testnet
2020-08-30 22:51:42 -07:00
83a17acc17
Add methods to adjust rent burn percentage, and hashes per tick
2020-08-30 16:50:43 -07:00
ed34b930e5
modify-genesis now writes elsewhere and produces a full genesis.tar.bz2
2020-08-30 16:47:27 -07:00
95816f7db9
Add ability to fork a local cluster from the latest mainnet-beta snapshot
2020-08-30 16:47:18 -07:00
e652c27142
Add bank-hash subcommand ( #11915 )
...
(cherry picked from commit a07980536a
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-30 19:05:04 +00:00
0811cb2966
Fix get_parsed_token_accounts ( #11907 ) ( #11909 )
...
(cherry picked from commit 60c7ac6f95
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-29 19:53:05 +00:00
311b419f8a
Bump version to v1.3.7
2020-08-29 11:42:14 -07:00
acb992c3be
Update to spl-token 2
v1.3.6
2020-08-29 09:23:20 -07:00
61aca235a3
Bump spl-token version
2020-08-29 03:24:36 -06:00
bad0709ff1
Update to token pack/unpack changes (bp #11900 ) ( #11903 )
...
* Update to token pack/unpack changes (#11900 )
(cherry picked from commit 2eff9a19c3
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-29 05:46:07 +00:00
2a649e990d
Update spl-token to v2.0 (bp #11884 ) ( #11897 )
...
* Update spl-token to v2.0 (#11884 )
* Update account-decoder to spl-token v2.0
* Update transaction-status to spl-token v2.0
* Update rpc to spl-token v2.0
* Update getTokenSupply to pull from Mint directly
* Fixup to spl-token v2.0.1
(cherry picked from commit 76be36c9ce
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# core/Cargo.toml
* Fix conflicts
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2020-08-28 23:36:53 +00:00
1a25889f72
Take v0.19.3 of perf libs which improves sigverify perf 2x ( #11894 ) ( #11895 )
...
(cherry picked from commit 9393dce1ff
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-28 20:37:26 +00:00
e15dca6961
Update devnet cluster docs since reboot
2020-08-28 10:36:11 -07:00
bb12f48014
Add SolFlare as stake-supporting wallet ( #11891 ) ( #11892 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com >
(cherry picked from commit 8ba3a33129
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-08-28 16:17:24 +00:00
c6416fca6e
Bump version to 1.3.6 ( #11890 )
2020-08-28 16:58:59 +02:00
2f5d60bef7
Update epoch gating ( #11880 )
v1.3.5
2020-08-27 21:17:45 -07:00
ef1a9df507
Small cleaning around consensus/bank_forks ( #11873 ) ( #11881 )
...
(cherry picked from commit d8c529a9b8
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-28 01:06:21 +00:00
d2611f54a0
Make ledger-tool accounts print rent_epoch and slot ( #11845 ) ( #11870 )
...
(cherry picked from commit 57174cdabe
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-27 04:49:24 +00:00
6117f8d64e
Add SolFlare guide to docs ( #11843 ) ( #11868 )
...
(cherry picked from commit 36e8441149
)
Co-authored-by: Dan Albert <dan@solana.com >
2020-08-26 23:13:43 +00:00
67d9faaefc
Bump compute budget ( #11864 ) ( #11867 )
...
* Bump compute budget
* nudge
(cherry picked from commit ea179ad762
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-26 23:12:01 +00:00
aaa551ca7c
Merge pull request #11857 from mvines/cache ( #11863 )
...
ci: cargo-target-cache is now channel specific
(cherry picked from commit 5c7080c1f4
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-26 19:50:06 +00:00
85df8cb4c5
Accounts hash calculation metrics ( #11433 ) ( #11860 )
...
(cherry picked from commit 770d3d383c
)
Co-authored-by: sakridge <sakridge@gmail.com >
2020-08-26 19:31:52 +00:00
65f189d932
Rpc: Filter accounts with invalid mints from get_parsed_token_accounts ( #11844 ) ( #11859 )
...
* Filter out accounts with invalid mints from get_parsed_token_accounts
* Explicit docs
(cherry picked from commit 1988ee9cd6
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2020-08-26 19:02:48 +00:00
99001f7f2e
Bump MacOS nofile recommendation message ( #11835 )
...
(cherry picked from commit 8841c3398c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-25 19:57:08 +00:00
39eeb0142e
Add SystemInstruction::CreateAccount support to CPI (bp #11649 ) ( #11831 )
...
* Add SystemInstruction::CreateAccount support to CPI (#11649 )
(cherry picked from commit e9b610b8df
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
# runtime/src/bank.rs
# sdk/src/instruction.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 19:52:27 +00:00
d5d1a344c3
Switch programs activation to whole-set based gating (bp #11750 ) ( #11837 )
...
* Switch programs activation to whole-set based gating (#11750 )
* Implement Debug for MessageProcessor
* Switch from delta-based gating to whole-set gating
* Remove dbg!
* Fix clippy
* Clippy
* Add test
* add loader to stable operating mode at proper epoch
* refresh_programs_and_inflation after ancestor setup
* Callback via snapshot; avoid account re-add; Debug
* Fix test
* Fix test and fix the past history
* Make callback management stricter and cleaner
* Fix test
* Test overwrite and frozen for native programs
* Test epoch callback with genesis-programs
* Add assertions for parent bank
* Add tests and some minor cleaning
* Remove unsteady assertion...
* Fix test...
* Fix DOS
* Skip ensuring account by dual (whole/delta) gating
* Fix frozen abi implementation...
* Move compute budget constatnt init back into bank
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
(cherry picked from commit db4bbb3569
)
# Conflicts:
# genesis-programs/src/lib.rs
* Fix conflicts
Co-authored-by: Jack May <jack@solana.com >
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-25 19:00:41 +00:00
62e3c084d3
Update system tuning and docs (bp #11680 ) ( #11830 )
...
* Sync FD limit and max maps to 500k
(cherry picked from commit 11951eb009
)
* Expand system tuning docs
(cherry picked from commit 5354df8c1c
)
Co-authored-by: Trent Nelson <trent@solana.com >
2020-08-25 17:13:27 +00:00
3027ceb53a
Document how to validate account pubkey ( #11821 ) ( #11833 )
...
(cherry picked from commit 2c5366f259
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-25 17:11:09 +00:00
4e604e1211
Add (hidden) --use-deprecated-loader flag to solana deploy
( #11828 )
...
(cherry picked from commit de736e00ad
)
Co-authored-by: Michael Vines <mvines@gmail.com >
2020-08-25 16:56:29 +00:00
6749bfd1d2
Gate aligned program heap (bp #11808 ) ( #11814 )
...
* Gate aligned program heap (#11808 )
(cherry picked from commit c2e5dae7ba
)
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 15:57:15 +00:00
d05b39c4f6
Specify loader when bootstrapping bpf programs ( #11571 ) ( #11822 )
...
(cherry picked from commit 0a94e7e7fa
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 07:56:11 -07:00
c8e1fbd568
Update comment ( #11826 ) ( #11827 )
...
(cherry picked from commit dbd079f54c
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2020-08-25 14:48:00 +00:00
ad36ddedf1
CPI support for bpf_loader_deprecated (bp #11695 ) ( #11824 )
...
* CPI support for bpf_loader_deprecated (#11695 )
(cherry picked from commit 46830124f8
)
# Conflicts:
# programs/bpf_loader/src/syscalls.rs
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 11:02:06 +00:00
08bece7651
More efficient padding ( #11656 ) ( #11823 )
...
(cherry picked from commit f1ba2387d3
)
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 10:10:59 +00:00
f162c6d1d0
Align host addresses (bp #11384 ) ( #11817 )
...
* Align host addresses (#11384 )
* Align host addresses
* support new program abi
* update epoch rollout
* Enforce aligned pointers in cross-program invocations
(cherry picked from commit 9290e561e1
)
# Conflicts:
# core/src/validator.rs
# genesis-programs/src/lib.rs
# programs/bpf_loader/src/deprecated.rs
# programs/bpf_loader/src/lib.rs
# sdk/src/entrypoint_native.rs
# sdk/src/lib.rs
* resolve conflicts
* nudge
Co-authored-by: Jack May <jack@solana.com >
2020-08-25 07:23:20 +00:00