-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix disbursement on 037-megaclite.1 #20
Comments
The problem was that I'd neglected to run |
cratelyn
added a commit
that referenced
this issue
Jun 26, 2024
### 🚁 overview fixes #104. @conorsch reported this error, when upgrading to a new testnet release: > While performing the upgrade to Testnet 78 > ([penumbra-zone/penumbra#4582](penumbra-zone/penumbra#4582)) > today, I noticed belated that Galileo isn't building against that > version of the Penumbra monorepo. See example build failure here: > https://github.com/penumbra-zone/galileo/actions/runs/9683427186/job/26718838171 > > ``` > #20 226.5 error[E0277]: the trait bound `rustls_acme::axum::AxumAcceptor: Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not satisfied > #20 226.5 --> src/opt/rpc.rs:115:44 > #20 226.5 | > #20 226.5 115 | tokio::task::spawn($server.serve(make_svc)) > #20 226.5 | ^^^^^ the trait `Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not implemented for `rustls_acme::axum::AxumAcceptor` > #20 226.5 ... > #20 226.5 128 | spawn_grpc_server!(grpc_server.acceptor(acceptor)) > #20 226.5 | -------------------------------------------------- in this macro invocation > #20 226.5 | > #20 226.5 = help: the trait `Accept<I, S>` is implemented for `DefaultAcceptor` > #20 226.5 = note: this error originates in the macro `spawn_grpc_server` (in Nightly builds, run with -Z macro-backtrace for more info) > #20 226.5 > #20 226.5 error[E0277]: the trait bound `rustls_acme::axum::AxumAcceptor: Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not satisfied > #20 226.5 --> src/opt/rpc.rs:115:50 > #20 226.5 | > #20 226.5 115 | tokio::task::spawn($server.serve(make_svc)) > #20 226.5 | ----- ^^^^^^^^ the trait `Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not implemented for `rustls_acme::axum::AxumAcceptor` > #20 226.5 | | > #20 226.5 | required by a bound introduced by this call > #20 226.5 ... > #20 226.5 128 | spawn_grpc_server!(grpc_server.acceptor(acceptor)) > #20 226.5 | -------------------------------------------------- in this macro invocation this commit fixes that build error. ### 😷 diagnosis the running this command in the monorepo... ```sh ; git diff v0.77.4...v0.78.0 Cargo.lock ``` we can see some relevant changes to the dependency tree: ```diff [[package]] name = "axum-server" -version = "0.4.7" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bace45b270e36e3c27a190c65883de6dfc9f1d18c829907c127464815dc67b24" +checksum = "447f28c85900215cc1bea282f32d4a2f22d55c5a300afdfbc661c8d6a632e063" dependencies = [ "arc-swap", "bytes", ``` ```diff [[package]] name = "penumbra-auto-https" -version = "0.77.0" +version = "0.78.0" dependencies = [ "anyhow", "axum-server", "futures", - "rustls 0.20.9", + "rustls", "rustls-acme", "tracing", ] ``` the `axum-server` dependency has been upgraded, which in turn affects the version of `axum-server` that the value provided by `penumbra_auto_https::axum_acceptor()` may be used with. we call that function in `opt/rpc.rs` and provide it to `axum-server`, so Galileo should use the same version as the monorepo.
cratelyn
added a commit
that referenced
this issue
Jun 26, 2024
### 🚁 overview fixes #104. @conorsch reported this error, when upgrading to a new testnet release: > While performing the upgrade to Testnet 78 > ([penumbra-zone/penumbra#4582](penumbra-zone/penumbra#4582)) > today, I noticed belated that Galileo isn't building against that > version of the Penumbra monorepo. See example build failure here: > https://github.com/penumbra-zone/galileo/actions/runs/9683427186/job/26718838171 > > ``` > #20 226.5 error[E0277]: the trait bound `rustls_acme::axum::AxumAcceptor: Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not satisfied > #20 226.5 --> src/opt/rpc.rs:115:44 > #20 226.5 | > #20 226.5 115 | tokio::task::spawn($server.serve(make_svc)) > #20 226.5 | ^^^^^ the trait `Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not implemented for `rustls_acme::axum::AxumAcceptor` > #20 226.5 ... > #20 226.5 128 | spawn_grpc_server!(grpc_server.acceptor(acceptor)) > #20 226.5 | -------------------------------------------------- in this macro invocation > #20 226.5 | > #20 226.5 = help: the trait `Accept<I, S>` is implemented for `DefaultAcceptor` > #20 226.5 = note: this error originates in the macro `spawn_grpc_server` (in Nightly builds, run with -Z macro-backtrace for more info) > #20 226.5 > #20 226.5 error[E0277]: the trait bound `rustls_acme::axum::AxumAcceptor: Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not satisfied > #20 226.5 --> src/opt/rpc.rs:115:50 > #20 226.5 | > #20 226.5 115 | tokio::task::spawn($server.serve(make_svc)) > #20 226.5 | ----- ^^^^^^^^ the trait `Accept<hyper::server::tcp::addr_stream::AddrStream, _>` is not implemented for `rustls_acme::axum::AxumAcceptor` > #20 226.5 | | > #20 226.5 | required by a bound introduced by this call > #20 226.5 ... > #20 226.5 128 | spawn_grpc_server!(grpc_server.acceptor(acceptor)) > #20 226.5 | -------------------------------------------------- in this macro invocation this commit fixes that build error. ### 😷 diagnosis the running this command in the monorepo... ```sh ; git diff v0.77.4...v0.78.0 Cargo.lock ``` we can see some relevant changes to the dependency tree: ```diff [[package]] name = "axum-server" -version = "0.4.7" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bace45b270e36e3c27a190c65883de6dfc9f1d18c829907c127464815dc67b24" +checksum = "447f28c85900215cc1bea282f32d4a2f22d55c5a300afdfbc661c8d6a632e063" dependencies = [ "arc-swap", "bytes", ``` ```diff [[package]] name = "penumbra-auto-https" -version = "0.77.0" +version = "0.78.0" dependencies = [ "anyhow", "axum-server", "futures", - "rustls 0.20.9", + "rustls", "rustls-acme", "tracing", ] ``` the `axum-server` dependency has been upgraded, which in turn affects the version of `axum-server` that the value provided by `penumbra_auto_https::axum_acceptor()` may be used with. we call that function in `opt/rpc.rs` and provide it to `axum-server`, so Galileo should use the same version as the monorepo.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The most recent testnet (penumbra-zone/penumbra#1699) shows errors when using the faucet:
(That's my ephemeral penumbra address; i've redacted the discord user id.) Why is this failing? May be related to recent upstream code changes.
The text was updated successfully, but these errors were encountered: