Skip to content

Commit

Permalink
nit: fix references to removed function in e2e module.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Apr 17, 2024
1 parent 508869b commit 8b605b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/tests/wasm/grandpa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ func (s *GrandpaTestSuite) TestRecoverClient_Succeeds_GrandpaContract() {

// extractChecksumFromGzippedContent takes a gzipped wasm contract and returns the checksum.
func (s *GrandpaTestSuite) extractChecksumFromGzippedContent(zippedContent []byte) string {
content, err := wasmtypes.Uncompress(zippedContent, wasmtypes.MaxWasmByteSize())
content, err := wasmtypes.Uncompress(zippedContent, wasmtypes.MaxWasmSize)
s.Require().NoError(err)

checksum32 := sha256.Sum256(content)
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/wasm/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (s *IBCWasmUpgradeTestSuite) ExecStoreCodeProposal(ctx context.Context, cha

// extractChecksumFromGzippedContent takes a gzipped wasm contract and returns the checksum.
func (s *IBCWasmUpgradeTestSuite) extractChecksumFromGzippedContent(zippedContent []byte) string {
content, err := wasmtypes.Uncompress(zippedContent, wasmtypes.MaxWasmByteSize())
content, err := wasmtypes.Uncompress(zippedContent, wasmtypes.MaxWasmSize)
s.Require().NoError(err)

checksum32 := sha256.Sum256(content)
Expand Down

0 comments on commit 8b605b3

Please sign in to comment.