-
Notifications
You must be signed in to change notification settings - Fork 219
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
can't send to account by address: namesByAddress is empty #8113
Comments
workaround for
|
TODO: find consumers of disconnected
|
impact: cannot send assets to account by addressI'm inclined to change the title to be more about this. Background: |
work-around ideaIn a core-eval proposal, rather than using |
The work-around triggered another bug: #8408 There we have a more complete work-around. |
Is it possible to create a power called Relatedly, I wonder if we can do something like this to better scope permit permissions for writing to agoricNames: {
"consume": {
"chainStorage": {
"agoricNamesAdmin": {
"instance": {
"MyContract": true,
"MySecondContract": true
}
}
}
}
}
|
And for installation, instance, brand, and issuer, the stuff is already shaped like this: {
consume: {...},
instance: {
produce: {
MyContract: true,
MySecondContract: true,
}
}
} And the contents of these namehubs are automatically reflected to chainStorage. p.s. see makeWellKnownSpaces |
Tasks
Describe the bug
#5822 involves sending assets to accounts by address. As described in #8115, it should work something like...
but
E(namesByAddress).entries()
is empty: it resolves to[]
.@anilhelvaci reported seeing
[]
in a REPL. I reproduced it in an ava test.To Reproduce
Steps to reproduce the behavior:
cd agoric-sdk/packages/vats
sim/demo config provides home with .myAddressNameAdmin
test to show the entriesyarn test test/bootstrapTests/test-demo-config.js -m '*home*'
[]
Expected behavior
An entry for each provisioned user.
Platform Environment
I was working on a branch at the time I reproduced the problem, but it also reproduces on master.
git describe --tags --always
)@agoric/[email protected]
e28392fAdditional context
@anilhelvaci reports that this is blocking a bounty issue that @schnetzlerjoe is working on (most likely #5822)
Screenshots
The text was updated successfully, but these errors were encountered: