Fantom-foundation / Aida

Aida is a block-processing testing infrastructure for EVM-compatible chains.
GNU Lesser General Public License v3.0
5 stars 12 forks source link

BugFix: Incorrect conversion between integer types #1112

Closed rpl-ffl closed 4 months ago

rpl-ffl commented 4 months ago

Incorrect conversion between integer types https://codeql.github.com/codeql-query-help/go/go-incorrect-integer-conversion/

Fixes https://github.com/Fantom-foundation/Aida/issues/1109

Type of change

rpl-ffl commented 4 months ago

https://github.com/Fantom-foundation/Aida/security/code-scanning?query=is%3Aopen+pr%3A1112 The 2 warnings have now disappeared.

rpl-ffl commented 4 months ago

@wsodsong: int -> uint64 is wrong since we want the entire pipeline to be int. According changes incoming.