Commit Graph

131 Commits

Author SHA1 Message Date
Bryan Stitt
d4bd98fdba verbose 2023-07-05 12:52:10 -07:00
Bryan Stitt
b1c460dcb3 add --frozen --offline. not needed with the fetch step 2023-07-05 12:47:52 -07:00
Bryan Stitt
8ea9a0a5cb do even more in parallel
and also use the proper rust cache path
2023-07-05 12:44:38 -07:00
Bryan Stitt
1f1f2433e0 add a fetch step 2023-07-05 12:25:33 -07:00
Bryan Stitt
91c20248ee maybe 2023-07-05 11:46:11 -07:00
Bryan Stitt
b1872306b4 tailing semicolon 2023-07-05 11:40:43 -07:00
Bryan Stitt
0c6119697e set -eux and force a build of payment-contracts 2023-07-05 11:39:27 -07:00
Bryan Stitt
501ec21442 drop workspace-hack for now
it doesn't work well with features and so we were installing things like kafka even if the feature was off
2023-06-30 13:18:37 -07:00
Bryan Stitt
f6c8172a13 always do connectinfo for now 2023-06-29 13:12:35 -07:00
Bryan Stitt
a89312664c id instead of sharing 2023-06-27 17:41:48 -07:00
Bryan Stitt
6c5637260d rw needed 2023-06-27 12:57:44 -07:00
Bryan Stitt
b1c414f85e drop cargo-chef 2023-06-27 12:57:16 -07:00
Bryan Stitt
8f6371be30 sharing private and double check bin exists 2023-06-27 12:23:55 -07:00
Bryan Stitt
7f6d4d134b comment 2023-06-27 12:14:02 -07:00
Bryan Stitt
16e9727a97 use COPY to match chef docs 2023-06-27 12:13:14 -07:00
Bryan Stitt
ee41f5f91d sparse registry 2023-06-27 12:06:43 -07:00
Bryan Stitt
6defc2840c with the caches mounted, i think incremental will actually help 2023-06-27 12:03:31 -07:00
Bryan Stitt
870e96ba38 just use the dev profile 2023-06-27 12:00:53 -07:00
Bryan Stitt
272f7ce800 add cargo hakari and chef to build process 2023-06-27 11:59:49 -07:00
Bryan Stitt
7394a56abf move copy 2023-06-27 09:45:16 -07:00
Bryan Stitt
d32208729f sharing private 2023-06-26 23:25:47 -07:00
Bryan Stitt
cc3291d914 docker cache more 2023-06-26 23:21:05 -07:00
Bryan Stitt
e47eccb893 add --locked to nextest 2023-06-25 21:47:18 -07:00
Bryan Stitt
4396cbb759 depending on order, both might need rw 2023-06-25 21:42:58 -07:00
Bryan Stitt
0ac25c1a90 rustup update doesn't do anything if no versions are installed 2023-06-25 21:35:55 -07:00
Bryan Stitt
5b60a43466 improve build process 2023-06-25 21:26:17 -07:00
Bryan Stitt
df2599eda3 one apt install step 2023-06-25 16:26:54 -07:00
Bryan Stitt
7dd8bce1ed do test and release building in parallel 2023-06-25 16:09:05 -07:00
Bryan Stitt
83123f5cdd wait up to a second for it to sync 2023-06-24 21:51:58 -07:00
Bryan Stitt
6b6fac396f lower default web3_proxy::rpcs::consensus level 2023-06-22 22:45:43 -07:00
Bryan Stitt
209601dc6f use connectinfo in docker too 2023-06-21 17:52:16 -07:00
Bryan Stitt
a8f0c1f6f4 drop the faster_release profile for now 2023-06-12 19:02:18 -07:00
Bryan Stitt
fcc1843af0 put it back. duplication between cargo.toml isnt worth it 2023-05-30 21:37:58 -07:00
Bryan Stitt
2273637a07 move cli into a separate packge and clean up dependencies 2023-05-30 20:58:24 -07:00
Bryan Stitt
00772caae3 --help instead of --version 2023-05-30 17:38:45 -07:00
Bryan Stitt
cebe8ed1ea
Request refactor (#99)
* wip

* AsRef finally works like i wanted

* actually return the block

* start adding async trait

* remove stale import

* include id in the error response when possible

* remove stale comments
2023-05-30 16:32:34 -07:00
Bryan Stitt
8a097dabbe
Bryan devel 2023-05-12 (#67)
* add minor todo

* BadRequest instead of web3_context

* more bad request error codes

* use tokio-uring for the tcp listener

* clear block instead of panic

* clone earlier

* more watch channels instead of rwlocks

* drop uring for now (its single threaded) and combine get/post/put routes

* clean up iter vs into_iter and unnecessary collect

* arcswap instead of rwlock for Web3Rpcs.by_name

* cargo upgrade

* uuid fast-rng and alphabetize

* if protected rpcs, only use protected rpcs

* listenfd

* make connectinfo optional

* try_get_with_by_ref instead of try_get_with

* anyhow ensure. and try_get_with_as_ref isn't actually needed

* fix feature flags

* more refs and less clone

* automatic retry for eth_getTransactionReceipt and eth_getTransactionByHash

thanks for the report Lefteris @ Rotki

* ArcSwap for provider

* set archive_request to true on transaction retrying

* merge durable stats

* Revert "ArcSwap for provider"

This reverts commit 166d77f204cde9fa7722c0cefecbb27008749d47.

* comments

* less clones

* more refs

* fix test

* add optional mimalloc feature

* remove stale dependency

* sort

* cargo upgrade

* lint constants

* add todo

* another todo

* lint

* anyhow::ensure instead of panic

* allow rpc_accounting_v2 entries for requests without an rpc key
2023-05-12 15:15:32 -07:00
Bryan Stitt
2ad509a5fc rust 1.69.0 2023-04-24 23:23:33 -07:00
Bryan Stitt
78fceb1fbf features on tests 2023-04-20 20:00:54 -07:00
Bryan Stitt
684b14c8a7 enable sasl for kafka 2023-04-20 14:48:15 -07:00
Bryan Stitt
03ef27baa4 Merge branch 'main' into devel 2023-04-19 15:31:08 -07:00
Bryan Stitt
10d2d46512 more packages for kafka+ssl 2023-04-19 15:22:27 -07:00
Bryan Stitt
9118117fe7 tell ethers to shut up 2023-04-18 20:50:35 -07:00
Bryan Stitt
dde275496e no opt. usr/local instead 2023-04-05 12:30:44 -07:00
yenicelik
01065adeac Merge branch 'main' into stats_v3 2023-03-30 13:43:03 +01:00
Bryan Stitt
a0c954ecf5 rust 1.68.2 for updated rsa host key within cargo 2023-03-28 12:39:13 -07:00
Bryan Stitt
eb4d05a520 stats v2
rebased all my commits and squashed them down to one
2023-03-04 20:48:49 +01:00
Bryan Stitt
2eb8df22ec kafka helper script 2023-03-03 02:54:52 -08:00
Bryan Stitt
04c49b925f rdkafka is no longer a feature 2023-03-03 01:44:57 -08:00
Bryan Stitt
586b772cdf apt needs '--yes' 2023-03-02 20:58:07 -08:00
Bryan Stitt
ecd94c72c1 librdkafka-dev, not librdkafka 2023-03-02 20:48:09 -08:00
Bryan Stitt
3098791ad9 add optional kafka feature 2023-03-03 01:39:50 +00:00
Bryan Stitt
1e29a057ab fix cargo install command. no more inotify feature 2023-03-01 10:53:56 -08:00
Bryan Stitt
11ee0aafe9 inotify is a pain cross platform. just check file hashes 2023-02-27 13:13:18 -08:00
Bryan Stitt
6067369ee3 add inotify and rpc disconnect 2023-02-27 12:50:57 -08:00
Bryan Stitt
7924b828b3 remove cargo-chef
its giving errors about having multiple versions of ahash, but only on some systems. just remove for now
2023-02-08 11:14:30 -08:00
Bryan Stitt
16df2defee add llama user so bash is happy 2023-02-06 13:47:08 -08:00
Bryan Stitt
671105fe07 make a new profile for codegen-units = 1 2023-02-02 13:55:48 -08:00
Bryan Stitt
7277caae6a skip cargo-binstall for now 2023-01-30 14:51:37 -08:00
Bryan Stitt
c995952c24 use cargo-chef and cargo-nextest 2023-01-30 14:22:40 -08:00
Bryan Stitt
f80390c88a upgrade sentry and fix pagerduty features so we do not need openssl 2023-01-25 14:11:20 -08:00
Bryan Stitt
37656a596c add openssl to maybe fix coredumps 2023-01-24 23:21:39 -08:00
Bryan Stitt
2d5d115d6f proxyd, not daemon 2023-01-19 02:32:24 -08:00
Bryan Stitt
f6811d3c05 with how we do --config, we need to change entrypoint now 2023-01-19 02:30:58 -08:00
Bryan Stitt
053947de40 one bin for everything 2023-01-18 13:56:23 -08:00
Bryan Stitt
c831609978 disable default features (deadlock detection) in docker 2023-01-15 14:50:20 -08:00
Bryan Stitt
d6dfcbd2d7 add wait_for_sync helper 2022-12-22 11:49:34 -08:00
Bryan Stitt
5954c82134 skip docs for now 2022-12-14 19:36:15 -08:00
Bryan Stitt
f96cd7d70a do the install way 2022-12-14 19:35:03 -08:00
Bryan Stitt
719102c4f0 need anvil and configs for tests 2022-12-14 19:25:57 -08:00
Bryan Stitt
456e903734 docker build now includes test and doc 2022-12-14 19:02:49 -08:00
Bryan Stitt
2811c84c25 dash consistency 2022-08-06 05:46:33 +00:00
Bryan Stitt
8eeef81560 fix docker build 2022-08-06 05:43:02 +00:00
Bryan Stitt
289d6e0249 prod config 2022-08-06 05:38:19 +00:00
Bryan Stitt
c1144e5e42 keep RUSTFLAGS in one place 2022-05-17 16:36:42 +00:00
Bryan Stitt
c884cf5bbb make it maybe faster 2022-05-13 07:05:38 +00:00
Bryan Stitt
81abf901c2 upgrades 2022-05-12 19:58:26 +00:00
Bryan Stitt
ef86625fdb new default port 2022-05-06 06:33:29 +00:00
Bryan Stitt
6fc80e9358 rustls 2022-05-06 01:25:49 +00:00
Bryan Stitt
4f38949eaa fix docker for workspace 2022-05-05 22:28:20 +00:00
Bryan Stitt
f64432226a add dockerfile with caches 2022-04-23 18:00:03 +00:00