Skip to content

Commit

Permalink
gci
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Dec 4, 2024
1 parent 5e725cb commit adc3ea8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions int/api/cmd/deploySC.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func (d *deploySC) Handle(params operations.CmdDeploySCParams) middleware.Respon
Message: err.Error(),
})
}

parameters, err := base64.StdEncoding.DecodeString(params.Body.Parameters)
if err != nil {
return operations.NewCmdDeploySCInternalServerError().
Expand Down Expand Up @@ -65,7 +65,7 @@ func (d *deploySC) Handle(params operations.CmdDeploySCParams) middleware.Respon
Message: err.Error(),
})
}

operationResponse, events, err := onchain.DeploySC(
d.networkInfos,
params.Body.Nickname,
Expand All @@ -77,7 +77,7 @@ func (d *deploySC) Handle(params operations.CmdDeploySCParams) middleware.Respon
smartContractByteCode,
deployerSCByteCode,
&signer.WalletPlugin{},
"Deploying contract" + params.Body.Description,
"Deploying contract"+params.Body.Description,
)
if err != nil {
return operations.NewCmdDeploySCInternalServerError().
Expand Down
3 changes: 1 addition & 2 deletions pkg/node/sendoperation/sendoperation.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ type OperationContent struct {
Description string `json:"description"`
Operation string `json:"operation"`
//nolint:tagliatelle
ChainID uint64 `json:"chainId"`
ChainID uint64 `json:"chainId"`
}


type JSONableSlice []uint8

func (u JSONableSlice) MarshalJSON() ([]byte, error) {
Expand Down

0 comments on commit adc3ea8

Please sign in to comment.