During the work on https://github.com/keep-network/keep-core/pull/3427, we noticed a problem with a generated contract binding that maps the WalletRegistry contract. That contract defines the following function:
function isDkgResultValid(DKG.Result calldata result) external view returns (bool, string memory)
which is covered by the WalletRegistry.go binding as:
The isDkgResultValid is package-private and contains anonymous fields that can't be accessed outside. The only possible workaround is by using Go's reflection. This should be improved by making the returned values accessible.
During the work on https://github.com/keep-network/keep-core/pull/3427, we noticed a problem with a generated contract binding that maps the
WalletRegistry
contract. That contract defines the following function:which is covered by the
WalletRegistry.go
binding as:The
isDkgResultValid
is package-private and contains anonymous fields that can't be accessed outside. The only possible workaround is by using Go's reflection. This should be improved by making the returned values accessible.