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

Below-ED transfers to non-existant accounts #83

Closed
2 tasks done
xermicus opened this issue Oct 14, 2024 · 2 comments
Closed
2 tasks done

Below-ED transfers to non-existant accounts #83

xermicus opened this issue Oct 14, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@xermicus
Copy link
Member

xermicus commented Oct 14, 2024

Ideally transfers below the ED to new accounts don't fail. The runtime could just charge the ED from gas.

Tasks

Preview Give feedback
@xermicus xermicus added the bug Something isn't working label Oct 14, 2024
@xermicus xermicus added this to the Initial release milestone Oct 14, 2024
@athei
Copy link
Member

athei commented Oct 17, 2024

I think it is a good idea to resolve this little difference in behaviour. I remember frontier people complaining that the ED is a pita for them.

I would probably try to integrate it with the storage meter. Cause its job is it to charge deposits from the transaction signer rather than the caller. And this is exactly want we want to do here: Make it transparent for the contract involved. Basically making the ED a storage deposit. This is already the case when instantiating a contract. But extending this to normal bakance transfers would be a good idea.

@xermicus
Copy link
Member Author

This seems even better to me.

@xermicus xermicus self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants