Ryo Onodera
1cc8de0fed
Bump version to v1.7.8 ( #18866 )
2021-07-24 01:14:03 +09:00
mergify[bot]
e7964a0b89
token: Swap new token program id for consistency on all networks ( #18823 ) ( #18837 )
...
(cherry picked from commit d6f5945653
)
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-07-22 11:03:41 +00:00
mergify[bot]
f1858c74a4
Disambiguate archive_snapshot_package
IO error sources ( #18798 )
...
(cherry picked from commit a4c3db51fc
)
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-21 17:17:57 +00:00
mergify[bot]
7427dafc36
feature: add new token program feature (backport #18780 ) ( #18803 )
...
* feature: add new token program feature (#18780 )
* feature: add new token program feature
* Fixup test
* Update to spl-token v3.2.0
* Update Cargo.lock + fmt
* Update token program version in fetch-spl.sh
* Bump associated token program to 1.0.3
* Add aToken so
(cherry picked from commit 51f3b9aa7c
)
# Conflicts:
# Cargo.lock
# account-decoder/Cargo.toml
# accounts-cluster-bench/Cargo.toml
# programs/bpf/Cargo.lock
# rpc/Cargo.toml
# sdk/src/feature_set.rs
# tokens/Cargo.toml
# transaction-status/Cargo.toml
* Fix merge issues
* Re-generate lock files
Co-authored-by: Jon Cinque <jon.cinque@gmail.com >
2021-07-21 15:05:45 +00:00
mergify[bot]
ea192b3c83
prevent excess allocation with AccountsIndexIterator ( #18605 ) ( #18642 )
...
(cherry picked from commit 0bd8710d34
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-07-19 20:15:40 +00:00
Trent Nelson
19049ca91b
Bump version to v1.7.7
2021-07-17 08:42:22 +00:00
sakridge
551dc0a74c
Bump 1.7 version ( #18723 )
2021-07-16 09:43:18 -06:00
Trent Nelson
336c1c1d37
nonce: Unify NonceError
with SystemError
2021-07-16 04:41:51 -06:00
mergify[bot]
c7c650fccc
Gate libsecp256k1 update (backport #18656 ) ( #18701 )
...
* hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade
* bump libsecp256k1 to v0.5.0
* gate libsecp256k1 upgrade to v0.5.0
* ci: allow clippy::inconsistent_struct_constructor
Co-authored-by: Trent Nelson <trent@solana.com >
2021-07-16 07:38:45 +00:00
mergify[bot]
8a111229f7
Cleanup secp256k1 deps (backport #18618 ) ( #18625 )
...
* Cleanup secp256k1 deps (#18618 )
(cherry picked from commit 0d3e8ada94
)
# Conflicts:
# Cargo.lock
# programs/bpf/Cargo.lock
# programs/secp256k1/Cargo.toml
# runtime/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-07-13 08:35:50 +00:00
Michael Vines
e5d60bc56d
Record vote account commission with voting/staking rewards and surface in RPC
...
(cherry picked from commit 4098af3b5b
)
2021-07-12 17:07:07 -07:00
mergify[bot]
cba97d576a
serial insertion of bins into accounts index ( #18469 ) ( #18617 )
...
(cherry picked from commit f5ff4b2058
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-07-12 22:26:29 +00:00
mergify[bot]
ed5c11b3aa
Update neon program id (backport #18607 ) ( #18608 )
...
* Update neon program id (#18607 )
(cherry picked from commit 00f7e514b8
)
* fix test
Co-authored-by: Jack May <jack@solana.com >
2021-07-12 11:18:29 -07:00
mergify[bot]
a6a302f41f
chore: bump ouroboros from 0.5.1 to 0.9.3 ( #18189 ) ( #18573 )
...
* chore: bump ouroboros from 0.5.1 to 0.9.3
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.5.1 to 0.9.3.
- [Release notes](https://github.com/joshua-maros/ouroboros/releases )
- [Commits](https://github.com/joshua-maros/ouroboros/commits )
---
updated-dependencies:
- dependency-name: ouroboros
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
* Api changes
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com >
Co-authored-by: Tyera Eulberg <tyera@solana.com >
2021-07-10 20:44:54 +00:00
Ryo Onodera
c2320fceab
Remove sysvar special cases for rent and assign
2021-07-10 01:24:44 +09:00
mergify[bot]
8b87d86358
Bump compute budget for neon evm ( #17700 ) ( #18522 )
...
(cherry picked from commit 2867584985
)
Co-authored-by: Jack May <jack@solana.com >
2021-07-09 09:12:31 -07:00
mergify[bot]
c40e71dc03
featurize_policy_update ( #18492 ) ( #18502 )
...
(cherry picked from commit ccdf93e2b8
)
Co-authored-by: Jack May <jack@solana.com >
2021-07-07 22:31:05 +00:00
mergify[bot]
2f633cdfb7
Refactor verify_and_update write privileges check ( #18468 ) ( #18484 )
...
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-07 21:46:07 +00:00
mergify[bot]
edd6ae588a
Update verify policy (backport #18459 ) ( #18491 )
...
* Update verify policy (#18459 )
(cherry picked from commit 44289e6728
)
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com >
2021-07-07 19:02:52 +00:00
mergify[bot]
c98ab6c6dc
Record parent slot to reconstruct fork tree from influxdb ( #18482 ) ( #18488 )
...
(cherry picked from commit d69f469b83
)
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2021-07-07 17:42:03 +00:00
mergify[bot]
5321463892
Refactoring: Unify account_deps and accounts (backport #17898 ) ( #18486 )
...
* Refactoring: Unify account_deps and accounts (#17898 )
* Changes ThisInvokeContext::get_account() to use accounts instead of pre_accounts.
* Adds explicit keys to accounts to make them symmetric to account_deps.
* Appends account_deps to accounts in transaction loading and removes account_deps everywhere else.
(cherry picked from commit 7462c27d07
)
# Conflicts:
# program-test/src/lib.rs
# runtime/src/bank.rs
# runtime/src/message_processor.rs
* fix conflicts
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net >
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-07 17:14:39 +00:00
mergify[bot]
72ed4f28b1
Remove feature switch for demoting sysvar write locks ( #18373 ) ( #18454 )
...
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-06 23:25:28 +00:00
mergify[bot]
6afeaac7a5
Fix transaction logs and inner ixs for leader nodes (backport #18395 ) ( #18448 )
...
* Fix transaction logs and inner ixs for leader nodes (#18395 )
* Fix transaction logs and inner ixs for leader nodes
* Fix cpi log storage flag
(cherry picked from commit 5dd399dafa
)
# Conflicts:
# runtime/src/bank.rs
* resolve conflict
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-06 23:04:19 +00:00
mergify[bot]
5966053a6d
Improve account unlock performance ( #18442 ) ( #18447 )
...
* Improve account unlock performance
* fix clippy
(cherry picked from commit 6319e8811a
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-06 21:40:04 +00:00
Lijun Wang
09b009abd9
Removed unused purged_slots in purge_older_root_entries ( #18102 )
...
Removed unused purged_slots in purge_older_root_entries
(cherry picked from commit ccf6b21bf8
)
2021-07-01 21:13:02 -07:00
mergify[bot]
c37e481a43
test ( #18159 ) ( #18289 )
...
(cherry picked from commit 47cafb70da
)
Co-authored-by: carllin <carl@solana.com >
2021-07-02 04:12:53 +00:00
mergify[bot]
b433048003
report on min/max bin stats for accounts index ( #18338 ) ( #18347 )
...
(cherry picked from commit 531f1bce78
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-07-01 23:55:43 +00:00
mergify[bot]
03d213d764
Reject transactions with extra signatures ( #18306 ) ( #18370 )
...
* Reject transactions with extra signatures
* fix tests
* fix check
* fix check
* tx method
* fix checks
(cherry picked from commit d5961e9d9f
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-01 20:07:43 +00:00
mergify[bot]
10bd14bca6
Remove feature switch for using message hash for already processed check ( #18340 ) ( #18367 )
...
(cherry picked from commit 5ca975383c
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-07-01 17:39:22 +00:00
Trent Nelson
4466aa39c4
Bump version to v1.7.5
2021-06-30 22:55:01 -06:00
mergify[bot]
4ff482cd47
Fail simulation if transaction contains duplicate accounts ( #18304 ) ( #18334 )
...
(cherry picked from commit b08f8bd1b0
)
Co-authored-by: Justin Starry <justin@solana.com >
2021-06-30 21:35:56 +00:00
mergify[bot]
a10a0824eb
refactor untar_snapshot_in to push parallelism deeper for further refactoring ( #18310 ) ( #18312 )
...
(cherry picked from commit ce53b84cdc
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-30 17:59:57 +00:00
mergify[bot]
7e40a051a4
bin accounts index ( #18111 ) ( #18280 )
...
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-29 09:14:10 -05:00
mergify[bot]
d1b26cb267
reduce pubkey copies on insert path ( #18240 ) ( #18276 )
...
(cherry picked from commit 1f1e54b9d8
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-28 16:31:48 -05:00
Jack May
6a0a03415c
Don't update if already an executable
...
(cherry picked from commit 2fbedd834f
)
2021-06-27 12:24:00 -06:00
mergify[bot]
b7d04cf7b9
replace account index bulk insert with iterator ( #18198 ) ( #18235 )
...
(cherry picked from commit e06376664b
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-25 17:55:42 -05:00
mergify[bot]
41179b1282
metric for accounts index insertion time ( #18202 ) ( #18226 )
...
(cherry picked from commit f2a2581259
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-25 13:36:29 -05:00
mergify[bot]
c99460ba15
remove unnecessary copies from accounts index code paths ( #18196 ) ( #18212 )
...
(cherry picked from commit f9fccdee85
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-25 02:23:23 +00:00
mergify[bot]
769fcb7f50
untar in parallel ( #18184 ) ( #18210 )
...
* untar in parallel
* make enum for 'ignore' return value
(cherry picked from commit 31ec986ea1
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-24 19:35:21 -05:00
mergify[bot]
60812790e1
rework dirty_pubkeys from insert_new_if_missing_into_primary_index ( #18200 ) ( #18208 )
...
(cherry picked from commit 4b314be5bd
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-24 17:55:45 -05:00
mergify[bot]
09b612b130
add min/max bin size metrics to hash calculation ( #18155 ) ( #18181 )
...
(cherry picked from commit 77c3ffe4cf
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-23 20:04:15 +00:00
mergify[bot]
26fdf3fb07
Add batch stats ( #18096 ) ( #18142 )
...
(cherry picked from commit e808f34b0b
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-06-23 12:43:37 -05:00
mergify[bot]
f41f3f6b51
apply 'debug_do_not_add_builtins' to feature activations ( #18110 ) ( #18150 )
...
(cherry picked from commit fbc94d84c8
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-23 17:34:19 +00:00
mergify[bot]
bc08351a0a
capture sort time in hash calculation ( #18118 ) ( #18153 )
...
(cherry picked from commit d3ee73e151
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-23 15:49:28 +00:00
mergify[bot]
088b3893c3
Keep track of dirty stores on remove accounts to clean ( #17601 ) ( #18173 )
...
* Keep track of dirty stores on remove accounts to clean
and not zero_lamport key set
* Only dirty when count==0?
* Add another clean
(cherry picked from commit 3b1738c000
)
Co-authored-by: sakridge <sakridge@gmail.com >
2021-06-23 10:23:44 +00:00
mergify[bot]
aca66674d3
correctly calculate hash_total for hash/lamport calculation ( #18144 ) ( #18146 )
...
(cherry picked from commit d5f9f3b7ce
)
Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com >
2021-06-22 21:21:10 +00:00
Trent Nelson
597429ab3e
Bump version to v1.7.4
2021-06-22 19:57:34 +00:00
Trent Nelson
fcabaa7eff
sdk: refactor pda generation
2021-06-22 11:36:05 -06:00
mergify[bot]
6f376489a5
Handle removing slots during account scans ( #17471 ) ( #17953 )
...
(cherry picked from commit ccc013e134
)
Co-authored-by: carllin <carl@solana.com >
2021-06-22 00:59:12 +00:00
mergify[bot]
0cbf7bef1e
Move stake_weighted_timestamp module ( #18114 ) ( #18120 )
...
* Move timestamp module into runtime
* Less public
* Remove unused enum
(cherry picked from commit 19fe1dd463
)
Co-authored-by: Tyera Eulberg <teulberg@gmail.com >
2021-06-22 00:11:12 +00:00