You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with native VP context .pre()/.post() currently fails with e.g. with_storage(&ctx.pre()):
error: implementation of `namada_core::ledger::storage_api::StorageRead` is not general enough
= note: `ledger::native_vp::CtxPreStorageRead<'_, 'a, DB, H, CA>` must implement `namada_core::ledger::storage_api::StorageRead<'0>`, for any lifetime `'0`...
= note: ...but `namada_core::ledger::storage_api::StorageRead<'_>` is actually implemented for the type `ledger::native_vp::CtxPreStorageRead<'_, '_, DB, H, CA>`
This looks like it's related to rust-lang/rust#70263, but hopefully rewriting StorageRead with GATs to avoid the explicit lifetime should get us around it.
The text was updated successfully, but these errors were encountered:
trying to use a function such as
with native VP context
.pre()
/.post()
currently fails with e.g.with_storage(&ctx.pre())
:This looks like it's related to rust-lang/rust#70263, but hopefully rewriting
StorageRead
with GATs to avoid the explicit lifetime should get us around it.The text was updated successfully, but these errors were encountered: