We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
(concat)
When using (concat) with an empty list, a divide by 0 error is thrown here:
pact/src/Pact/Gas/Table.hs
Line 270 in 9d8d097
This bug as been introduced in Pact 4.8 by: #1269
pact> (concat []) ""
OK
but:
pact> (env-gasmodel "table") pact> (env-gaslimit 10000) "Set gas limit to 10000" pact> (concat []) <interactive>:1:0:Error: divide by zero
And of course, the error occurs on-chain too.
The text was updated successfully, but these errors were encountered:
Good catch, thank you @CryptoPascal31
Sorry, something went wrong.
#1317
workaround of
14bf485
kadena-io/pact#1316
No branches or pull requests
Issue description
When using
(concat)
with an empty list, a divide by 0 error is thrown here:pact/src/Pact/Gas/Table.hs
Line 270 in 9d8d097
This bug as been introduced in Pact 4.8 by: #1269
Steps to reproduce
OK
but:
And of course, the error occurs on-chain too.
The text was updated successfully, but these errors were encountered: