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

Add parse input errors view; fix empty method_id #5045

Merged
merged 1 commit into from
Dec 28, 2021

Conversation

nikitosing
Copy link
Member

@nikitosing nikitosing commented Dec 26, 2021

Close #4874

Changelog

Enhancements

Add view for parse errors (appears in cases when input ABI type is tuple[])

image

Bug Fixes

  • Fix emtpy method_id for cases when ABI type is tuple[] but actual type more complex

Checklist for your Pull Request (PR)

@@ -296,42 +296,11 @@ defmodule Explorer.SmartContract.Reader do
end

defp get_abi_with_method_id(abi) do
Copy link
Member

Choose a reason for hiding this comment

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

@nikitosing could you elaborate on the refactoring of this function?

@vbaranov vbaranov merged commit 00bb36b into master Dec 28, 2021
@vbaranov vbaranov deleted the np-contract-improvements-1 branch December 28, 2021 15:02
sidhujag pushed a commit to syscoin/blockscout that referenced this pull request Dec 28, 2021
…ements-1

Add parse input errors view; fix empty method_id
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

Successfully merging this pull request may close these issues.

Add user friendly error displaying for the complex contract input
2 participants