linera-protocol
linera-protocol copied to clipboard
If I define member with `MapView<u64, Object>` in application state, then I get error `linera_views::graphql::MapInput<u16>` and `linera_views::graphql::MapInput<u64>` have the same GraphQL name `MapInput_Int`
Description
With SDK 0.10.0, when define MapView<u64, Object>
in state, then access application through browser, we get "Local node operation failed: Local node operation failed: Execution error: Failed to execute Wasm module in Wasmer. This may be caused by panics or insufficient fuel. during Query"
. Check service log, we get 2024-03-30T09:00:16.142347Z ERROR linera_execution::wasm::wasmer: panicked at /home/test/.cargo/registry/src/index.crates.io-6f17d22bba15001f/async-graphql-7.0.3/src/registry/mod.rs:869:25:
linera_views::graphql::MapInputand
linera_views::graphql::MapInputhave the same GraphQL name
MapInput_Int``
Steps 1 Define the application state member with MapView<u64, Object1> and MapView<u16, Object2> 2 Deploy application 3 Access application through browser
Result
linera_views::graphql::MapInput<u16>
and linera_views::graphql::MapInput<u64>
have the same GraphQL name MapInput_Int
Screenshots
Version 0.10.0