From 1112c5f3fbd9f5785ab95ba198810b8e9c817e3a Mon Sep 17 00:00:00 2001 From: tamjidahmed Date: Mon, 13 May 2024 01:47:55 +0600 Subject: [PATCH] refactor: fix lint --- proto/sedachain/wasm_storage/v1/wasm_storage.proto | 2 +- x/wasm-storage/keeper/common_test.go | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/proto/sedachain/wasm_storage/v1/wasm_storage.proto b/proto/sedachain/wasm_storage/v1/wasm_storage.proto index 25da1c6c..f57c8715 100644 --- a/proto/sedachain/wasm_storage/v1/wasm_storage.proto +++ b/proto/sedachain/wasm_storage/v1/wasm_storage.proto @@ -45,5 +45,5 @@ message Params { int64 max_wasm_size = 1; // WasmTTL represents the number of block a wasm's life is extended when it's // created or used. - int64 wasm_ttl = 2[ (gogoproto.customname) = "WasmTTL" ]; + int64 wasm_ttl = 2 [ (gogoproto.customname) = "WasmTTL" ]; } diff --git a/x/wasm-storage/keeper/common_test.go b/x/wasm-storage/keeper/common_test.go index 8f33cec9..29bd2d1d 100644 --- a/x/wasm-storage/keeper/common_test.go +++ b/x/wasm-storage/keeper/common_test.go @@ -20,10 +20,7 @@ import ( wasmstoragetypes "github.com/sedaprotocol/seda-chain/x/wasm-storage/types" ) -var ( - mockedByteArray = []byte("82a9dda829eb7f8ffe9fbe49e45d47d2dad9664fbb7adf72492e3c81ebd3e29134d9bc12212bf83c6840f10e8246b9db54a4859b7ccd0123d86e5872c1e5082") - // mockedByteArray2 = []byte("a9dda829eb7f8ffe9fbesfa49e45d47d2dad9664fbb7adf72492e3c81ebd3e29134d9bc12212bf83c6840f10e8246b9db54a4859b7ccd0123d86e5872c1e50829a") //nolint:unused // unused -) +var mockedByteArray = []byte("82a9dda829eb7f8ffe9fbe49e45d47d2dad9664fbb7adf72492e3c81ebd3e29134d9bc12212bf83c6840f10e8246b9db54a4859b7ccd0123d86e5872c1e5082") type KeeperTestSuite struct { suite.Suite