Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

feat: validate txblock for getStateProof #401

Merged
merged 1 commit into from
Sep 27, 2021

Conversation

ghost
Copy link

@ghost ghost commented Sep 25, 2021

Description

This PR checks the negative integer as tx block number input for GetStateProof.

Motivation and Context

How has this been tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • Add tests to cover changes as needed.
  • Update documentation as needed.

@ghost ghost requested review from bb111189, renlulu and teye as code owners September 25, 2021 01:27
@codecov-commenter
Copy link

codecov-commenter commented Sep 25, 2021

Codecov Report

Merging #401 (35ff053) into dev (76b5911) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #401   +/-   ##
=======================================
  Coverage   80.89%   80.89%           
=======================================
  Files          43       43           
  Lines        1795     1795           
  Branches      326      326           
=======================================
  Hits         1452     1452           
  Misses        342      342           
  Partials        1        1           
Impacted Files Coverage Δ
packages/zilliqa-js-blockchain/src/chain.ts 65.07% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76b5911...35ff053. Read the comment docs.

@bb111189 bb111189 merged commit c9746dc into dev Sep 27, 2021
@bb111189 bb111189 deleted the feat/validate-txblock-for-getstateproof branch September 27, 2021 06:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants