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

Error occurred while building uniffi #105

Open
m-greatbcdev opened this issue Oct 20, 2024 · 0 comments
Open

Error occurred while building uniffi #105

m-greatbcdev opened this issue Oct 20, 2024 · 0 comments

Comments

@m-greatbcdev
Copy link

While I was trying "cargo build --release" in vdr/uniffi directory, following error corrupted

error[E0599]: no method named `is_txn_reverted` found for struct `web3::types::TransactionReceipt` in the current scope
   --> D:\workspace\indy-besu\vdr\src\client\implementation\web3\client.rs:103:20
    |
103 |         if receipt.is_txn_reverted() {
    |                    ^^^^^^^^^^^^^^^ method not found in `TransactionReceipt`

error[E0609]: no field `revert_reason` on type `web3::types::TransactionReceipt`
   --> D:\workspace\indy-besu\vdr\src\client\implementation\web3\client.rs:104:50
    |
104 |             if let Some(revert_reason) = receipt.revert_reason {
    |                                                  ^^^^^^^^^^^^^ unknown field
    |
    = note: available fields are: `transaction_hash`, `transaction_index`, `block_hash`, `block_number`, `from` ... and 10 others

I need advice from assistants

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

No branches or pull requests

1 participant