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

fix: handle out_of_gas_error on aex141 cleanup #883

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

jyeshe
Copy link
Member

@jyeshe jyeshe commented Aug 31, 2022

Avoid deleting aex141 contract indexed by metadata covering some mainnet cases.

@jyeshe jyeshe self-assigned this Aug 31, 2022
@jyeshe
Copy link
Member Author

jyeshe commented Aug 31, 2022

Thanks for finding it @sborrazas

@@ -25,7 +25,9 @@ defmodule AeMdwWeb.Helpers.AexnHelper do
@spec enc_id(pubkey()) :: String.t()
def enc_id(pk), do: :aeser_api_encoder.encode(:account_pubkey, pk)

@spec sort_field_truncate(String.t()) :: String.t()
@spec sort_field_truncate(String.t() | :atom) :: String.t()
Copy link
Contributor

Choose a reason for hiding this comment

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

this should be atom() since :atom represents that literal atom

rest looks good 👍

Copy link
Member Author

Choose a reason for hiding this comment

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

true, atom atom (:

@jyeshe
Copy link
Member Author

jyeshe commented Aug 31, 2022

rebased with new Dockerfile

@jyeshe jyeshe requested a review from sborrazas August 31, 2022 16:14
@jyeshe jyeshe merged commit c1d556d into master Aug 31, 2022
@jyeshe jyeshe deleted the fix-aex141-mainnet-cleanup branch August 31, 2022 16:50
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.

None yet

3 participants