Jack May
7fc4cfebc8
Rename BpfComputeBudget ( #18768 )
2021-07-22 10:18:51 -07:00
Jon Cinque
d6f5945653
token: Swap new token program id for consistency on all networks ( #18823 )
2021-07-22 10:31:55 +02:00
Jon Cinque
51f3b9aa7c
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
2021-07-21 14:34:25 +02:00
Trent Nelson
a4c3db51fc
Disambiguate `archive_snapshot_package` IO error sources
2021-07-21 08:35:28 +00:00
Justin Starry
207c90bd8b
Shorten long SerializeWith type paths in abi digest ( #18734 )
2021-07-20 08:59:50 -05:00
Jack May
7ed8792647
Use saturating math for timings ( #18735 )
2021-07-19 11:05:10 -07:00
Jeff Washington (jwash)
181f21529d
add Debug trait to T in AccountsIndex ( #18702 )
2021-07-16 17:05:23 -05:00
Jack May
74539020b4
Transaction simulation includes cost ( #18715 )
2021-07-16 14:58:15 -07:00
Jack May
ca71ca3d6d
Accumulate consumed units ( #18714 )
2021-07-16 12:40:12 -07:00
Jeff Washington (jwash)
090fbeca24
lazy allocate buffers for bg reader in untar ( #18640 )
2021-07-16 13:17:03 -05:00
Jack May
6cf3c1ab8f
tx wide compute budget ( #18631 )
2021-07-16 00:31:22 -07:00
Justin Starry
d166b9856a
Move transaction sanitization earlier in the pipeline ( #18655 )
...
* Move transaction sanitization earlier in the pipeline
* Renamed HashedTransaction to SanitizedTransaction
* Implement deref for sanitized transaction
* bring back process_transactions test method
* Use sanitized transactions for cost model calculation
2021-07-15 22:51:27 -05:00
Brian Anderson
37ee0b5599
Eliminate doc warnings and fix some markdown ( #18566 )
...
* Fix link target in doc comment
* Fix formatting of log examples in process_instruction
* Fix doc markdown in solana-gossip
* Fix doc markdown in solana-runtime
* Escape square braces in doc comments to avoid warnings
* Surround 'account references' doc items in code spans to avoid warnings
* Fix code block in loader_upgradeable_instruction
* Fix doctest for loader_upgradable_instruction
2021-07-16 00:40:07 +00:00
Trent Nelson
3a85b77bb5
hijack secp256k1 enablement feature plumbing for libsecp256k1 upgrade
2021-07-15 18:43:55 +00:00
Trent Nelson
568660b402
Revert "Remove feature switch for secp256k1 program ( #18467 )"
...
This reverts commit fd574dcb3b
.
2021-07-15 18:43:55 +00:00
Jeff Washington (jwash)
958d27bb0e
accounts index scan starts looking in bin where bound would exist ( #18613 )
2021-07-15 10:26:50 -05:00
Jeff Washington (jwash)
da9fdd785c
measure and speed up 2nd half of generate_index ( #18503 )
...
* add metrics and speedup storage calcs in generate_index
* add tests, refactor
* rename map variable
* rename another index variable
2021-07-15 10:26:00 -05:00
Jeff Washington (jwash)
ad3f18f031
fix race condition in bg file reader file error ( #18682 )
2021-07-14 19:04:55 -05:00
dependabot[bot]
8bb9ddf298
chore: bump ouroboros from 0.10.0 to 0.10.1 ( #18662 )
...
* chore: bump ouroboros from 0.10.0 to 0.10.1
Bumps [ouroboros](https://github.com/joshua-maros/ouroboros ) from 0.10.0 to 0.10.1.
- [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-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 <you@example.com>
2021-07-14 13:37:52 -06:00
sakridge
7f2254225e
Move entry/poh to own crate to speed up poh bench build ( #18225 )
2021-07-14 14:16:29 +02:00
Jeff Washington (jwash)
bb41cf3461
remove unnecessary generic args to make refactoring easier ( #18619 )
2021-07-13 12:05:23 -05:00
Jeff Washington (jwash)
0bd8710d34
prevent excess allocation with AccountsIndexIterator ( #18605 )
2021-07-13 11:11:17 -05:00
Jeff Washington (jwash)
d092fa1f03
add ledger-tool verify verify-accounts-index option ( #18375 )
...
* add ledger-tool verify verify-accounts-index option
* comment, merge, respond to feedback, cleanup
2021-07-13 11:06:18 -05:00
Jeff Washington (jwash)
3e11468a04
refactor SharedBuffer to separate Arc refcount shutdown issues ( #18563 )
2021-07-13 11:05:41 -05:00
Jack May
0d3e8ada94
Cleanup secp256k1 deps ( #18618 )
2021-07-13 00:36:19 +00:00
Michael Vines
4098af3b5b
Record vote account commission with voting/staking rewards and surface in RPC
2021-07-12 15:09:44 -07:00
Justin Starry
bc47ed6c80
Remove outdated program verifification ( #18592 )
2021-07-12 14:40:49 -05:00
Jack May
35123b71c2
fix test ( #18609 )
2021-07-12 11:45:25 -07:00
Jack May
00f7e514b8
Update neon program id ( #18607 )
2021-07-12 10:07:22 -07:00
Jeff Washington (jwash)
f5ff4b2058
serial insertion of bins into accounts index ( #18469 )
2021-07-12 12:00:45 -05:00
Justin Starry
e806d31224
Optimize Message::is_non_loader_key method ( #18579 )
2021-07-12 10:42:22 -05:00
joshua-maros
c4827732c5
Update ouroboros
2021-07-10 12:16:09 -06:00
Jack May
e9ace3a0d5
cost model nits ( #18528 )
2021-07-09 12:55:31 -07:00
Ryo Onodera
f96de208e2
Implement MockInvokeContext::is_feature_active properly
2021-07-09 09:08:38 -07:00
Ryo Onodera
b0734fabf7
Improve test
2021-07-09 09:08:38 -07:00
Ryo Onodera
bd3c93f086
Add expected test removal remainder
2021-07-09 09:08:38 -07:00
Ryo Onodera
30a8fb86d0
Fix comment
2021-07-09 09:08:38 -07:00
Ryo Onodera
b158353ca9
kill single letter variables
2021-07-09 09:08:38 -07:00
Ryo Onodera
0f1c0c2796
Improve comment
2021-07-09 09:08:38 -07:00
Ryo Onodera
4fa902c84f
Fix typo
2021-07-09 09:08:38 -07:00
Ryo Onodera
3a7e5e65e4
Fix rebase...
2021-07-09 09:08:38 -07:00
Ryo Onodera
f029af0fca
Remove sysvar special cases for rent and assign
2021-07-09 09:08:38 -07:00
Justin Starry
fd574dcb3b
Remove feature switch for secp256k1 program ( #18467 )
...
* Remove feature switch for secp256k1 program
* fix tests
2021-07-09 10:08:03 -05:00
Trent Nelson
ca1d8f2adc
runtime: ignore flakey `test_waitable_condvar`
2021-07-09 01:26:28 -06:00
carllin
4d3e301ee4
Introduce slot dumping to ReplayStage ( #18160 )
2021-07-08 19:07:32 -07:00
Jeff Washington (jwash)
334e1112a7
during untar, read ahead, causing decompression to occur in the bg ( #18205 )
...
* shared buffered decompressor for untar
* spell check in comment
2021-07-08 13:44:47 -05:00
Jack May
2867584985
Bump compute budget for neon evm ( #17700 )
2021-07-08 10:43:34 -07:00
dependabot[bot]
c853da7424
chore: bump libc from 0.2.97 to 0.2.98 ( #18516 )
...
* chore: bump libc from 0.2.97 to 0.2.98
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.97 to 0.2.98.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.97...0.2.98 )
---
updated-dependencies:
- dependency-name: libc
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>
2021-07-08 17:31:16 +00:00
Dan Albert
b8be09c09c
Add addresses
2021-07-07 21:02:22 -06:00
Jeff Washington (jwash)
f04340b125
move allocation out of critical section and estimate capacity better ( #18450 )
2021-07-07 15:36:40 -05:00