Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Add EVMC_INSUFFICIENT_BALANCE error to evmc_status_code#528

Merged
axic merged 1 commit intoipsilon:masterfrom
erigontech:EVMC_BALANCE_TOO_LOW
Sep 29, 2020
Merged

Add EVMC_INSUFFICIENT_BALANCE error to evmc_status_code#528
axic merged 1 commit intoipsilon:masterfrom
erigontech:EVMC_BALANCE_TOO_LOW

Conversation

@yperbasis
Copy link
Copy Markdown
Contributor

EVMC_BALANCE_TOO_LOW describes the situation when the caller doesn't have enough funds for value transfer. Useful on the host side for CREATE, CALL and ilk.

Copy link
Copy Markdown
Member

@chfast chfast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems fine. Do you have any particular place you will use it in?

@yperbasis
Copy link
Copy Markdown
Contributor Author

Seems fine. Do you have any particular place you will use it in?

I'm playing with a new C++ Ethereum client, but it's just a toy at this stage.

@chfast
Copy link
Copy Markdown
Member

chfast commented Jul 9, 2020

Can you rebase on the master branch?

@yperbasis
Copy link
Copy Markdown
Contributor Author

Can you rebase on the master branch?

Done.

@axic
Copy link
Copy Markdown
Member

axic commented Jul 9, 2020

Could you also squash the commits? :)

@yperbasis yperbasis changed the title Add EVMC_BALANCE_TOO_LOW error to evmc_status_code Add EVMC_INSUFFICIENT_BALANCE error to evmc_status_code Jul 9, 2020
@yperbasis
Copy link
Copy Markdown
Contributor Author

Could you also squash the commits? :)

Done.

@axic
Copy link
Copy Markdown
Member

axic commented Aug 10, 2020

@yperbasis could you enable maintainer edits on the fork, so that we can rebase and push to the fork to make these merges quicker?

@yperbasis
Copy link
Copy Markdown
Contributor Author

@yperbasis could you enable maintainer edits on the fork, so that we can rebase and push to the fork to make these merges quicker?

Hmm, I don't see "Allow edits from maintainers" checkbox for some reason.

@axic
Copy link
Copy Markdown
Member

axic commented Aug 10, 2020

Tried again, as last I did was a few weeks back, but it is still the case:

ERROR: Permission to torquem-ch/evmc.git denied to axic.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Maybe it is something controlled by the torquem-ch org settings?

@chfast
Copy link
Copy Markdown
Member

chfast commented Aug 10, 2020 via email

@axic
Copy link
Copy Markdown
Member

axic commented Sep 27, 2020

@yperbasis sorry for letting you wait this long, it seems the gomod ci is fixed now (with #538). Could you rebase one final time and change the commit log to only contain EVMC_INSUFFICIENT_BALANCE as right now it confusingly mentions a renaming (which never took place in the final codebase) for EVMC_BALANCE_TOO_LOW.

Also for the future if you open PRs from your personal repo, we as maintainers can fix such tiny nitpicking things (including rebase) and get things merged way quicker.

@yperbasis
Copy link
Copy Markdown
Contributor Author

@axis Done.

@axic axic merged commit fd53042 into ipsilon:master Sep 29, 2020
@axic
Copy link
Copy Markdown
Member

axic commented Sep 29, 2020

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants