Skip to content
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

refactor(autonomi): wasm test compile-time env variables #2177

Closed

Conversation

mickvandijke
Copy link
Contributor

No description provided.

@b-zee
Copy link
Contributor

b-zee commented Oct 2, 2024

I am getting this:

error: environment variable `RPC_URL` not defined at compile time
  --> evmlib/src/utils.rs:43:19
   |
43 |     let rpc_url = env!("RPC_URL");
   |                   ^^^^^^^^^^^^^^^
   |
   = help: use `std::env::var("RPC_URL")` to read the variable at run time
   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `PAYMENT_TOKEN_ADDRESS` not defined at compile time
  --> evmlib/src/utils.rs:44:33
   |
44 |     let payment_token_address = env!("PAYMENT_TOKEN_ADDRESS");
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use `std::env::var("PAYMENT_TOKEN_ADDRESS")` to read the variable at run time
   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

error: environment variable `CHUNK_PAYMENTS_ADDRESS` not defined at compile time
  --> evmlib/src/utils.rs:45:34
   |
45 |     let chunk_payments_address = env!("CHUNK_PAYMENTS_ADDRESS");
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use `std::env::var("CHUNK_PAYMENTS_ADDRESS")` to read the variable at run time
   = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants