Brennan Watt
830ccb9bff
Fix compile warning for some targets ( #29258 )
...
* Fix compile warning for some targets
* Reduce redundant code
2022-12-14 20:40:13 +01:00
Nicholas
d8f8dea9e4
Explorer: Token Decimal Fix ( #28831 )
...
Added maximumFractionDigits
Co-authored-by: TheClub4 <bryantan-888@hotmail.com>
2022-12-14 14:20:32 -05:00
Noah Gundotra
5d6f94ef42
Explorer: add alert notice to Project Serum deployments ( #28913 )
...
* explorer: add scam notice to serum deployments
* explorer: prettier fix
* explorer: generalize account-incident alerting
* explorer: format:fix
* explorer: remove github registry link
* explorer: remove unused fetch
* Change flagged accounts from context to flat record
2022-12-14 13:27:47 -05:00
Jeff Washington (jwash)
fab0ce21a2
remove shrink_candidate_slots_v1 ( #29252 )
2022-12-14 08:57:16 -08:00
Jeff Washington (jwash)
b77bef4ee3
write_version -> write_version_obsolete ( #29176 )
2022-12-14 07:43:40 -08:00
HaoranYi
7a97121747
add retry for flakey local cluster test ( #29228 )
2022-12-14 08:55:51 -06:00
Jeff Washington (jwash)
b8e25282c2
remove rebuild_bank_from_snapshots(caching_enabled) ( #29247 )
...
* fix tests broken by add_root change
* remove rebuild_bank_from_snapshots(caching_enabled)
2022-12-13 16:33:06 -08:00
Jeff Washington (jwash)
f355066456
remove caching_enabled from serde_snapshot ( #29246 )
...
* fix tests broken by add_root change
* remove caching_enabled from serde_snapshot
2022-12-13 16:32:43 -08:00
Jeff Washington (jwash)
62be54a75e
remove process_stale_slot_v1 and other fns ( #29244 )
2022-12-13 16:32:24 -08:00
Jeff Washington (jwash)
4ae12bf5fa
fix tests broken by add_root change ( #29248 )
2022-12-13 14:43:52 -08:00
Jeff Washington (jwash)
250ec3f2a4
improve write_version usage in geyser scan from snapshot ( #29223 )
2022-12-13 14:40:12 -08:00
Alexander Meißner
721496b900
Feature - Program redeployment cooldown ( #29136 )
...
* Registers the feature enable_program_redeployment_cooldown.
* Adds redeployment slot constraint.
* Adds test to assert that closed programs can not be reopened.
* Ensure that program close truncates the account data.
* Adds set_sysvar_for_tests() to SBF program tests.
2022-12-13 22:54:24 +01:00
Jeff Washington (jwash)
3e649d2aa0
remove add_root(caching_enabled) ( #29245 )
2022-12-13 11:26:28 -08:00
Jeff Washington (jwash)
8da82e68fc
remove handle_snapshot_request(caching_enabled) ( #29241 )
2022-12-13 09:31:47 -08:00
dependabot[bot]
dca5d7f9b4
chore: bump test-case from 2.1.0 to 2.2.2 ( #28184 )
...
Bumps [test-case](https://github.com/frondeus/test-case ) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/frondeus/test-case/releases )
- [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md )
- [Commits](https://github.com/frondeus/test-case/compare/v2.1.0...v2.2.2 )
---
updated-dependencies:
- dependency-name: test-case
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 16:07:50 +00:00
Jeff Washington (jwash)
1a0a465416
handle unclean roots explicitly during index generation ( #29230 )
2022-12-13 07:51:33 -08:00
Jeff Washington (jwash)
b779134020
remove process_stale_slot_with_budget ( #29236 )
2022-12-13 07:50:14 -08:00
Jeff Washington (jwash)
c8e7c706df
remove bank_from_streams(caching_enabled) ( #29235 )
2022-12-13 07:49:33 -08:00
Jeff Washington (jwash)
356372b175
remove TestValidatorGenesis::caching_enabled ( #29229 )
2022-12-13 07:20:44 -08:00
Brooks Prumo
bcbf3374fd
Avoids copying hashes when computing merkle root ( #29225 )
2022-12-13 10:20:14 -05:00
Jeff Washington (jwash)
e1c6de9ef4
remove handle_snapshot_requests(caching_enabled) ( #29232 )
2022-12-13 07:19:45 -08:00
Jeff Washington (jwash)
7034f4cbbe
remove new_with_config_for_benches(caching_enabled) ( #29231 )
2022-12-13 07:19:24 -08:00
Jeff Washington (jwash)
5983363b03
remove test_store_scan_consistency(caching_enabled) ( #29233 )
2022-12-13 07:18:55 -08:00
Jeff Washington (jwash)
b95835143e
remove AccountsBackgroundService::new(caching_enabled) ( #29234 )
2022-12-13 07:18:02 -08:00
Jeff Washington (jwash)
3b4c27b727
remove some if accounts_db_caching_enabled { ( #29237 )
2022-12-13 07:17:14 -08:00
Jeff Washington (jwash)
bb0bfc4214
remove bank_from_latest_snapshot_archives(caching_enabled) ( #29238 )
2022-12-13 07:16:24 -08:00
Jeff Washington (jwash)
a57247a78e
handle write_version correctly in geyser api ( #29224 )
2022-12-13 06:42:28 -08:00
Yihau Chen
637d0358ed
ci: add openbook_dex back to downstream project test ( #29207 )
...
Revert "ci: don't run openbook_dex downstream-project test temporarily (#29201 )"
This reverts commit bcf449158e
.
2022-12-13 04:42:07 +00:00
Jeff Washington (jwash)
fec8f61566
remove ProcessOptions::accounts_db_caching_enabled ( #29217 )
2022-12-12 20:25:00 -08:00
Alexander Meißner
fe3bbede71
Cfg disable JIT code on systems where it is not supported (2) ( #29226 )
...
Cfg disable JIT code on systems where it is not supported.
2022-12-13 03:46:45 +00:00
Jeff Washington (jwash)
c3001abef7
don't rely on write_version increasing - just assert that it is for now ( #29180 )
2022-12-12 19:24:45 -08:00
Jeff Washington (jwash)
ceeec9d625
remove enable_caching from Bank::new_with_config_for_tests ( #29215 )
2022-12-12 15:33:12 -08:00
Jeff Washington (jwash)
2c2324f4ea
remove caching_enabled from Bank::new_with_paths_for_tests ( #29214 )
2022-12-12 15:30:46 -08:00
Brooks Prumo
1b0aaf1607
Makes a new PathBuf instead of moving the test's TempDir ( #29220 )
2022-12-12 18:29:36 -05:00
apfitzge
249607dbfe
Use a different tempdir for unpacking snapshots ( #29219 )
2022-12-12 17:26:52 -06:00
Jeff Washington (jwash)
dd4393e46d
remove accounts_caching from Bank::new_with_paths ( #29213 )
2022-12-12 15:18:12 -08:00
behzad nouri
8ea5dd8b28
removes metric for process_push_success ( #29211 )
...
This is already tracked in CrdsDataStats:
https://github.com/solana-labs/solana/blob/5e799ad56/gossip/src/crds.rs#L96-L106
https://github.com/solana-labs/solana/blob/5e799ad56/gossip/src/cluster_info_metrics.rs#L652-L656
and is so duplicated.
Removing the metric would simplify this code path for upcoming commits.
2022-12-12 22:10:38 +00:00
Jeff Washington (jwash)
536b879aa7
remove accounts.new_with_config_for_tests.caching_enabled ( #29168 )
2022-12-12 11:31:51 -08:00
Brooks Prumo
391f68da61
Uses Storages to calculate accounts hash in EAH warp tests ( #29192 )
2022-12-12 13:30:23 -05:00
Jeff Washington (jwash)
7b1d00ee80
remove dead just_rewrites ( #29188 )
2022-12-12 10:04:16 -08:00
Jeff Washington (jwash)
5e799ad563
remove AccountsDb::new_with_config.caching_enabled ( #29167 )
2022-12-12 08:50:00 -08:00
Brooks Prumo
e02d1670fb
Uses Storages to calculate accounts hash when warping in `ledger-tool create-snapshot` ( #29194 )
2022-12-12 11:22:15 -05:00
Alexander Meißner
025b35af40
Cfg disable JIT code on systems where it is not supported ( #29208 )
...
Cfg disable JIT code on systems where it is not supported.
2022-12-12 15:29:38 +01:00
Alexander Meißner
013f784e92
Bump solana_rbpf to v0.2.38 ( #29137 )
...
* Refactor register_syscalls() => create_loader().
* Bumps solana_rbpf to v0.2.38
* Replaces Config::encrypt_environment_registers by Config::runtime_environment_key.
* Adds pc parameter to MemoryMapping::map()
* Removes debugger from rbpf CLI.
* Adds debugger to rbpf CLI again.
* Renames vm.context_object => vm.env.context_object_pointer.
* Renames SyscallRegistry => BuiltInProgram.
Renames SyscallFunction => BuiltInFunction.
Renames register_syscall_by_name() => register_function_by_name().
* Removes ContextObject from Analysis.
* Renames Config::error_on_syscall_bpf_function_hash_collisions => Config::external_internal_function_hash_collision.
2022-12-12 08:47:09 +01:00
Yihau Chen
254d3f20b2
ci: check crates ( #29009 )
...
* init
* print all errors in the end
* print success msg
* use skip patterns instead of specific file
* v2
* checkout full history
* install toml cli in Github Actions step
* git diff only list added and modified
* prevent empty owner list
* lint: ident with space 2
* update 404 hint
* lint
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* wording
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* indent with space
* add some friendly error message
* wording
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* Update .github/workflows/crate-check.yml
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
* fix indent
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-12-12 11:51:37 +08:00
Jeff Biseda
88a8f40bd2
apply [limit repairs to top staked... #28673 ] to non-MainnetBeta clusters ( #29163 )
2022-12-11 15:52:41 -08:00
behzad nouri
4ee318b2b2
fixes rust code formatting in core/src/consensus.rs ( #29204 )
2022-12-11 23:20:52 +00:00
Nico Schapeler
7be57d661f
docs: add endianess for pubkey byte/buffer functions ( #29079 )
2022-12-10 20:36:57 -08:00
Yihau Chen
bcf449158e
ci: don't run openbook_dex downstream-project test temporarily ( #29201 )
...
don't run openbook_dex
2022-12-11 04:03:57 +08:00
Jeff Washington (jwash)
db2cc53967
remove skip rewrites from bank ( #29182 )
2022-12-10 09:27:15 -08:00