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
The initNear takes a wallet selector as input. Currently, if the wallet selector creates a function access key for a contract that is not the SocialDB (for example, the user wants to login to use hello.near-examples.testnet, the following lines will logOut the user:
This is because the VM is checking if the selector being used is connected to the socialDB, and otherwise calling wallet.signOut
I would expect people to mix interactions with the VM with interactions to other contracts. In fact, I discovered this problem while trying to create a Hello World example that can talk with both BOS components, and a simple hello world smart contract.
The text was updated successfully, but these errors were encountered:
The
initNear
takes awallet selector
as input. Currently, if the wallet selector creates afunction access key
for a contract that is not the SocialDB (for example, the user wants to login to usehello.near-examples.testnet
, the following lines will logOut the user:VM/src/lib/data/account.js
Lines 22 to 32 in 8dbb065
This is because the VM is checking if the selector being used is connected to the
socialDB
, and otherwise callingwallet.signOut
I would expect people to mix interactions with the VM with interactions to other contracts. In fact, I discovered this problem while trying to create a
Hello World
example that can talk with bothBOS components
, and a simplehello world
smart contract.The text was updated successfully, but these errors were encountered: