Commit Graph

20849 Commits

Author SHA1 Message Date
Maximilian Schneider c8b0c3ede9
Update cost model to use requested_cu instead of estimated cu #27608 (#28281)
* Update cost model to use requested_cu instead of estimated cu #27608

* remove CostUpdate and CostModel from replay/tvu

* revive cost update service to send cost tracker stats

* CostModel is now static

* remove unused package

Co-authored-by: Tao Zhu <tao@solana.com>
2022-11-22 11:55:56 -06:00
apfitzge 637e8a937b
clean up: remove my_pubkey arg from consume_buffered_packets (#28888) 2022-11-22 11:40:04 -06:00
yihau 34835f4906 rebuild web3-experimental pipeline when yaml file chagned 2022-11-22 08:25:29 -08:00
yihau 9adaab06ce bump pnpm/action-setup to v2.2.4 2022-11-22 08:25:29 -08:00
Yihau Chen ff2dd1e261
ci: use our cargo setup instead of actions-rs/toolchain (#28923) 2022-11-22 16:24:49 +00:00
apfitzge 08e017b5ba
Improve error message (#28898) 2022-11-22 10:02:44 -06:00
kirill lykov 731fe3e5da
replace serum-dex with openbook-dex (#28873)
* replace serum-dex with openbook-dex

* force using master for anchor in downstream builds

* fix
2022-11-22 09:41:41 +01:00
steveluscher dbf68f7e93 [web3.js][experimental] Repair unpack path in bundle analyzer workflow 2022-11-22 06:41:47 +00:00
steveluscher 79bb14a28c [web3.js][experimental] Use different artifact downloader for bundle analysis step 2022-11-22 06:36:15 +00:00
steveluscher 0daa2c3aa9 Watch bundle sizes with Bundlewatch 2022-11-21 22:18:06 -08:00
Steven Luscher 2aca4160ca
[web3.js][experimental] A GitHub Actions workflow that builds the new code with Turborepo (#28916)
* Enable remote cache for Turborepo

* Rename `build` to `compile` and `package` to `build`

* Add a workflow that builds on PRs and pushes with Turborepo

* Explain how to connect to Turborepo remote caching

* Upgrade to pnpm 7
2022-11-21 21:47:32 -08:00
Jeff Washington (jwash) 20d8b5e98b
default some tests to write cache = true (#28917) 2022-11-21 15:53:39 -08:00
Jeff Washington (jwash) efc681b348
rename test var for clarity (#28914) 2022-11-21 13:22:16 -08:00
Jeff Washington (jwash) d449b9ea26
test_new_from_file_crafted_zero_lamport_account uses static append vec file (#28911) 2022-11-21 12:43:03 -08:00
Jeff Washington (jwash) f0ef316b19
remove cli arg "--no-accounts-db-caching" (#28912) 2022-11-21 12:38:35 -08:00
jon wong 5dfb974a29
Renaming the Bonfida Pool -> Serum Pool (#28813)
This program is owned by Serum, not by Bonfida
2022-11-21 15:14:27 -05:00
apfitzge 755b0a1055
add a measure_us macro (#28893) 2022-11-21 13:58:02 -06:00
Jeff Washington (jwash) 8addf93de7
test_store_reuse uses write cache (#28901) 2022-11-21 11:17:33 -08:00
apfitzge dd723210ca
remove unnecessary clippy attributes (#28891) 2022-11-21 12:54:54 -06:00
apfitzge 76df864469
typo: failre to failure (#28822) 2022-11-21 12:54:28 -06:00
Brooks Prumo ff7e82b5ff
Removes Accounts::bank_hash_at() (#28879) 2022-11-21 13:25:48 -05:00
steviez 7bc78196b5
ledger-tool: collapse repeated encoding argument parsing (#28859) 2022-11-21 13:15:14 -05:00
Jeff Washington (jwash) b29dea7a56
comment function (#28906) 2022-11-21 09:56:07 -08:00
ananas-block afc3fee937
added alt_bn syscalls (#27961)
* added alt_bn128_syscalls

* increased regression build redundancy to > 10
2022-11-21 17:43:06 +01:00
behzad nouri d43b001189
rolls out merkle shreds to ~20% of testnet (#28905) 2022-11-21 16:20:02 +00:00
Yihau Chen 4c2733485a
ci: rewrite Github Actions slack error reporting (#28904) 2022-11-21 11:22:00 +00:00
bji 6dc7cd0845
Fixed warnings caused by redefined macros. Also fixed sol_memcpy to … (#28378)
Fixed warnings caused by redefined macros.  Also fixed sol_memcpy to have
the same signature as memcpy.
2022-11-20 03:42:17 +00:00
kirill lykov f75d7898db
replace serum/anchor with coral-xyz/anchor (#28874) 2022-11-19 16:17:01 +01:00
steveluscher e81d76c9b9 Add Turborepo config 2022-11-19 00:17:34 -08:00
steveluscher 0bae8d8c15 Add tree-shakability checker 2022-11-19 00:17:34 -08:00
steveluscher 91429e027c Add a skeleton of the app, with a full build system for Node, the browser, and React Native – with dev/prod mode switches 2022-11-19 00:17:34 -08:00
steveluscher 60d3b867d7 Add shared Prettier config 2022-11-19 00:17:34 -08:00
steveluscher 065a9ccfaa Add shared ESLint config 2022-11-19 00:17:34 -08:00
steveluscher e8796f454c Initial commit of the rewrite of web3.js 2022-11-19 00:17:34 -08:00
eloylp 3d91c3f5cf
Refactor, move solana-validator CLI related configs to its own module (#28548)
* Refactor, move validator CLI related stuff to its own module(cli.rs)

The main function of the validator is getting big. Improve readability by moving away the CLI setup stuff to its own module.

* Restore help cli line

* Refactor,  move test validator CLI config to cli.rs module

* Fix  imports (cargo fmt)
2022-11-18 21:39:20 -08:00
Yihau Chen eaea3ec5bc
bump solana_rbpf to v0.2.37 (#28857) 2022-11-19 11:30:36 +08:00
Michael Vines c6927151ef
Sort offline/wrong-shred nodes by stake weight while waiting for supermajority (#28872) 2022-11-18 15:26:21 -08:00
Brooks Prumo d698f982ee
Renames to AccountsHasher (#28883) 2022-11-18 18:25:44 -05:00
Jeff Washington (jwash) 8cbe83c725
cleanup CalcAccountsHashDataSource (#28882) 2022-11-18 14:49:22 -08:00
Jeff Washington (jwash) f22104d46b
use write cache by default in some tests (#28876) 2022-11-18 14:35:52 -08:00
Jeff Washington (jwash) aa1d319d48
add shrink ancient test (#28858)
* add shrink ancient test

* improvements
2022-11-18 13:11:57 -08:00
Brooks Prumo 7787cb2ab2
Renames BankHashInfo field to accounts_delta_hash (#28878) 2022-11-18 15:35:03 -05:00
apfitzge a636038fff
Clean up: banking_stage_prepare_sanitized_batch (#28841)
Use measure! for bank.prepare_sanitized_batch_with_results
2022-11-18 14:04:44 -06:00
Tyera c32377b5af
Split out quic- and udp-client definitions (#28762)
* Move ConnectionCache back to solana-client, and duplicate ThinClient, TpuClient there

* Dedupe thin_client modules

* Dedupe tpu_client modules

* Move TpuClient to TpuConnectionCache

* Move ThinClient to TpuConnectionCache

* Move TpuConnection and quic/udp trait implementations back to solana-client

* Remove enum_dispatch from solana-tpu-client

* Move udp-client to its own crate

* Move quic-client to its own crate
2022-11-18 12:21:45 -07:00
Jeff Washington (jwash) dcfb73f664
extract test append_account function (#28875) 2022-11-18 10:57:02 -08:00
Pierre cd93719f68
explorer: OpenBook ix details using Serum code (#28867)
* feat: OpenBook ixs details using Serum code

* Reduce repetition in the OpenBook address

Co-authored-by: steveluscher <me+github@steveluscher.com>
2022-11-18 10:27:24 -08:00
Jeff Washington (jwash) 9acfa08838
remove per-account slot in ancient append vecs (#28851)
* remove per-account slot in ancient append vecs

* review fixes
2022-11-18 10:15:41 -08:00
Justin Starry 4c85850a73
Refactor: Rename `load_transaction` to `load_transaction_accounts` (#28746)
* Refactor: Rename load_transaction to load_transaction_accounts

* Refactor: map over account keys to load transaction accounts
2022-11-18 23:44:09 +08:00
Justin Starry 7371608722
Support versioned transactions in program test framework (#28739)
* Support versioned transactions in program test framework

* use working bank

* Update to process_transaction_with_metadata

* Migrate client apis from Transaction to Into<VersionedTransaction>

* feedback
2022-11-18 23:43:52 +08:00
samkim-crypto f1e7ffba0c
[zk-token-sdk] use canonical decoding for scalars (#28870)
use canonical decoding for scalars
2022-11-18 15:11:06 +09:00