Commit Graph

88 Commits

Author SHA1 Message Date
Bryan Stitt e0f9263b3f copy the app instead of mount to fix payment-contracts disappearing 2023-07-06 21:18:45 -07:00
Bryan Stitt 3d90768dd8 check for the right contracts file at each build step
i dont know why build caches are breaking this
2023-07-06 16:04:35 -07:00
Bryan Stitt a0b256cbd2 panic on deadlock 2023-07-06 04:18:48 -07:00
Bryan Stitt 2418d1ab77 touch build.rs if payment-contracts don't exist 2023-07-05 21:10:56 -07:00
Bryan Stitt aee220b7ad sharing=private shouldn't be needed 2023-07-05 13:09:05 -07:00
Bryan Stitt a151146a6e copy anvil 2023-07-05 13:04:53 -07:00
Bryan Stitt 7b291105af comments 2023-07-05 12:57:20 -07:00
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