Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix decoding panic by double checking variant type bounds #97

Merged
merged 3 commits into from
Nov 9, 2023

Conversation

fschoell
Copy link
Contributor

No description provided.

@fschoell fschoell linked an issue Oct 23, 2023 that may be closed by this pull request
@fschoell fschoell merged commit 4ebd4d1 into develop Nov 9, 2023
1 check passed
@fschoell fschoell deleted the fix/double_check_variant_bounds branch November 9, 2023 15:14
keisuke-kanao pushed a commit to ultraio/firehose-antelope that referenced this pull request Feb 1, 2024
* fix decoding panic by double checking variant type bounds (pinax-network#97)

* fix decoding panic by double checking variant type bounds

* remove eos-go replacement

* update firehose-core to v0.2.1 (pinax-network#99)

* bump firehose-core to v0.2.1

* implement new firecore.Block methods

* cleanup

* add test

* bump firehose-core to v0.2.2 (pinax-network#100)

* add buf yaml (pinax-network#101)

* bump firehose-core to v0.2.3 (pinax-network#102)

* bump firehose-core to v0.2.4 (pinax-network#104)

* remove unused proto dependency on generate (pinax-network#106)

* upgrade to firehose-core v1.0.0 (pinax-network#107)

* start work upgrading to firehose-core v1

* fix testing types

* remove tools

* fix test build

* cleanup

* cleanup

* cleanup

* add Silkworm poller for Antelope EVM (pinax-network#108)

* add Silkworm poller for Antelope EVM

* remove config.yaml

* Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 (pinax-network#109)

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add workaround for missing finalized query on eos evm (pinax-network#110)

* enable multitests for the consolereader (pinax-network#111)

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (pinax-network#112)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](golang/crypto@v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add check-blocks tool to check merged blocks for decoding issues (pinax-network#114)

* fix check-blocks starting at block 0 (pinax-network#115)

* fix check-blocks starting at block 0

* remove log

* add block sanitize function for comparisons (pinax-network#116)

* add leap 5.0 test data (pinax-network#117)

* bump firehose-core to v1.1.0 (pinax-network#118)

* update go mod

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frederik Schöll <[email protected]>
Co-authored-by: Yaro Shkvorets <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Duncan-Ultra pushed a commit to ultraio/firehose-antelope that referenced this pull request Apr 10, 2024
* fix decoding panic by double checking variant type bounds (pinax-network#97)

* fix decoding panic by double checking variant type bounds

* remove eos-go replacement

* update firehose-core to v0.2.1 (pinax-network#99)

* bump firehose-core to v0.2.1

* implement new firecore.Block methods

* cleanup

* add test

* bump firehose-core to v0.2.2 (pinax-network#100)

* add buf yaml (pinax-network#101)

* bump firehose-core to v0.2.3 (pinax-network#102)

* bump firehose-core to v0.2.4 (pinax-network#104)

* remove unused proto dependency on generate (pinax-network#106)

* upgrade to firehose-core v1.0.0 (pinax-network#107)

* start work upgrading to firehose-core v1

* fix testing types

* remove tools

* fix test build

* cleanup

* cleanup

* cleanup

* add Silkworm poller for Antelope EVM (pinax-network#108)

* add Silkworm poller for Antelope EVM

* remove config.yaml

* Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 (pinax-network#109)

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add workaround for missing finalized query on eos evm (pinax-network#110)

* enable multitests for the consolereader (pinax-network#111)

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (pinax-network#112)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](golang/crypto@v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add check-blocks tool to check merged blocks for decoding issues (pinax-network#114)

* fix check-blocks starting at block 0 (pinax-network#115)

* fix check-blocks starting at block 0

* remove log

* add block sanitize function for comparisons (pinax-network#116)

* add leap 5.0 test data (pinax-network#117)

* bump firehose-core to v1.1.0 (pinax-network#118)

* bump firehose-core to v1.1.1 (pinax-network#119)

* use a constant timestamp for sanitizing blocks (pinax-network#120)

* add missing sanitation for failed deferred transaction traces (pinax-network#121)

* improve the block sanitation

* remove accidentally removed sanitize

* bump firehose-core to v1.2.1 (pinax-network#122)

* bump firehose-core to v1.2.1

* fix sanitizeBlockForCompare, remove block poller

* run go mod tidy

* update Readme (pinax-network#123)

* update Readme

* fix typo

* add support and subgraph sections

* fix typos (pinax-network#124)

* bump firehose-core to v1.2.2 (pinax-network#125)

* bump firehose-core to v1.2.3 (pinax-network#126)

* bump firehose-core to v1.2.4 (pinax-network#127)

* bump firehose-core to v1.2.5 (pinax-network#128)

* Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (pinax-network#129)

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump firehose-core to v1.3.1 (pinax-network#130)

* bump firehose-core to v1.3.2 (pinax-network#131)

* bump firehose-core to v1.3.3 (pinax-network#132)

* bump firehose-core to v1.3.3

* run go mod tidy

* [BLOCK-2260] Remove obsolete files

* [BLOCK-2260] Remove another obsolete files

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frederik Schöll <[email protected]>
Co-authored-by: Yaro Shkvorets <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
keisuke-kanao pushed a commit to ultraio/firehose-antelope that referenced this pull request May 23, 2024
* fix decoding panic by double checking variant type bounds (pinax-network#97)

* fix decoding panic by double checking variant type bounds

* remove eos-go replacement

* update firehose-core to v0.2.1 (pinax-network#99)

* bump firehose-core to v0.2.1

* implement new firecore.Block methods

* cleanup

* add test

* bump firehose-core to v0.2.2 (pinax-network#100)

* add buf yaml (pinax-network#101)

* bump firehose-core to v0.2.3 (pinax-network#102)

* bump firehose-core to v0.2.4 (pinax-network#104)

* remove unused proto dependency on generate (pinax-network#106)

* upgrade to firehose-core v1.0.0 (pinax-network#107)

* start work upgrading to firehose-core v1

* fix testing types

* remove tools

* fix test build

* cleanup

* cleanup

* cleanup

* add Silkworm poller for Antelope EVM (pinax-network#108)

* add Silkworm poller for Antelope EVM

* remove config.yaml

* Bump github.com/libp2p/go-libp2p from 0.26.3 to 0.27.8 (pinax-network#109)

Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.26.3 to 0.27.8.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](libp2p/go-libp2p@v0.26.3...v0.27.8)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add workaround for missing finalized query on eos evm (pinax-network#110)

* enable multitests for the consolereader (pinax-network#111)

* Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (pinax-network#112)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](golang/crypto@v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* add check-blocks tool to check merged blocks for decoding issues (pinax-network#114)

* fix check-blocks starting at block 0 (pinax-network#115)

* fix check-blocks starting at block 0

* remove log

* add block sanitize function for comparisons (pinax-network#116)

* add leap 5.0 test data (pinax-network#117)

* bump firehose-core to v1.1.0 (pinax-network#118)

* bump firehose-core to v1.1.1 (pinax-network#119)

* use a constant timestamp for sanitizing blocks (pinax-network#120)

* add missing sanitation for failed deferred transaction traces (pinax-network#121)

* improve the block sanitation

* remove accidentally removed sanitize

* bump firehose-core to v1.2.1 (pinax-network#122)

* bump firehose-core to v1.2.1

* fix sanitizeBlockForCompare, remove block poller

* run go mod tidy

* update Readme (pinax-network#123)

* update Readme

* fix typo

* add support and subgraph sections

* fix typos (pinax-network#124)

* bump firehose-core to v1.2.2 (pinax-network#125)

* bump firehose-core to v1.2.3 (pinax-network#126)

* bump firehose-core to v1.2.4 (pinax-network#127)

* bump firehose-core to v1.2.5 (pinax-network#128)

* Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 (pinax-network#129)

Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump firehose-core to v1.3.1 (pinax-network#130)

* bump firehose-core to v1.3.2 (pinax-network#131)

* bump firehose-core to v1.3.3 (pinax-network#132)

* bump firehose-core to v1.3.3

* run go mod tidy

* bump firehose-core to v1.3.4, set DefaultBlockType (pinax-network#133)

* bump firehose-core to v1.3.4

* set DefaultBlockType

* bump firehose-core to v1.3.5 (pinax-network#134)

* bump firehose-core to v1.3.6 (pinax-network#135)

* bump firehose-core to v1.3.7 (pinax-network#136)

* bump firehose-core to v1.3.9 (pinax-network#137)

* bump firehose-core to v1.4.1 (pinax-network#138)

* bump firehose-core to v1.4.2 (pinax-network#139)

* Bump golang.org/x/net from 0.22.0 to 0.23.0 (pinax-network#140)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.22.0 to 0.23.0.
- [Commits](golang/net@v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Add release CI

* revert readme

* small fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Frederik Schöll <[email protected]>
Co-authored-by: Yaro Shkvorets <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

waxtest block replay crash
1 participant