Add NewFloor40Floor helper method

Also added tracerr.Wrap(...) to missing places.
This commit is contained in:
arnaucube
2021-03-03 11:35:50 +01:00
parent e460a7e58b
commit dfd49164f4
9 changed files with 85 additions and 22 deletions

View File

@@ -268,7 +268,7 @@ func NewNode(mode Mode, cfg *config.Node) (*Node, error) {
if err := auth.Sign(func(msg []byte) ([]byte, error) {
return keyStore.SignHash(feeAccount, msg)
}, chainIDU16, cfg.SmartContracts.Rollup); err != nil {
return nil, err
return nil, tracerr.Wrap(err)
}
coordAccount := &txselector.CoordAccount{
Addr: cfg.Coordinator.FeeAccount.Address,