kroma-network / kroma

A developer-friendly, rollup-based Ethereum Layer 2 solution that offers low fees and EVM equivalence.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After binding creation, "'TypesOutputRootProof' has been redeclared in this package" occurs.

Pangssu opened this issue · comments

Issue Type

Bug

Kanvas Version

0.1.1

OS Platform and Distribution

Windows 11

Go version

go1.20.2

Node version

v16.18.0

Current Behaviour?

In commit ['1c8e695b'](https://github.com/kroma-network/kroma/commit/1c8e695b16ff03ef0ff34c913d02a7c9b897e041#diff-77450785d1dafe0fddac317efe5f5151f0cd2d57405a72bccf457145c67e24a7), the `proveFault` function in the `Colosseum.sol` was modified to take the `Types.OutputRootProof` structure as a parameter. `Types.OutputRootProof` structure is also used in `KromaPortal.sol`. As a result of this modification, the problem of duplicate generation of the `TypesOutputRootProof` structure within the same package occurs when the bindings are generated by `abigen`.

Standalone code to reproduce the issue

make bindings

Relevant log output

'TypesOutputRootProof' redeclared in this package

solved