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

Why does not cw20 pass the received native token? #74

Closed
yun-yeo opened this issue Sep 7, 2020 · 1 comment
Closed

Why does not cw20 pass the received native token? #74

yun-yeo opened this issue Sep 7, 2020 · 1 comment

Comments

@yun-yeo
Copy link

yun-yeo commented Sep 7, 2020

With this line, I guess it does not pass the received native tokens to the next executed contract. Why don't we execute it with received native token balance?

https://github.com/CosmWasm/cosmwasm-plus/blob/28ce20041f2e731bc324adf59accc07a09f7b983/packages/cw20/src/receiver.rs#L23-L31

https://github.com/CosmWasm/cosmwasm-plus/blob/84d9ba6f406ee2c6954afa5fea78ad24865a29e4/contracts/cw20-base/src/contract.rs#L240-L250

@yun-yeo yun-yeo closed this as completed Sep 7, 2020
@yun-yeo yun-yeo reopened this Sep 7, 2020
@yun-yeo yun-yeo changed the title Does cw20 pass the received native token? Why does not cw20 pass the received native token? Sep 7, 2020
@yun-yeo
Copy link
Author

yun-yeo commented Sep 7, 2020

It seems out of scope works

@yun-yeo yun-yeo closed this as completed Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant