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

feat(lib/parachain): Implement request and response message for /req_chunk/1 protocol #3362

Merged
merged 24 commits into from
Jul 7, 2023

Conversation

axaysagathiya
Copy link
Contributor

@axaysagathiya axaysagathiya commented Jun 28, 2023

Changes

  • Added ChunkFetchingRequest and ChunkFetchingResponse types.

  • implemented 'network.Message' interface in ChunkFetchingRequest and 'network.ResponseMessage' interface in ChunkFetchingResponse as they will be passed into this function as req and res.

Tests

go test -tags integration github.com/ChainSafe/gossamer

Issues

Closes #3338

Primary Reviewer

@kanishkatn @edwardmack

kanishkatn and others added 20 commits May 29, 2023 14:45
…hainSafe#3281)

Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
Co-authored-by: Edward Mack <emack@pop-os.localdomain>
… to 10.14.1 (ChainSafe#3298)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ainSafe#3300)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kishan Sagathiya <kishansagathiya@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Timothy Wu <tim.wu@chainsafe.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
Co-authored-by: Axay Sagathiya <axaysagathiya@gmail.com>
Co-authored-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #3362 (89e1a59) into feat/parachain (d1037b4) will decrease coverage by 0.06%.
The diff coverage is 61.76%.

❗ Current head 89e1a59 differs from pull request most recent head 29a1fa9. Consider uploading reports for the commit 29a1fa9 to get more accurate results

Additional details and impacted files
@@                Coverage Diff                 @@
##           feat/parachain    #3362      +/-   ##
==================================================
- Coverage           51.43%   51.38%   -0.06%     
==================================================
  Files                 235      235              
  Lines               28706    28629      -77     
==================================================
- Hits                14765    14711      -54     
+ Misses              12505    12493      -12     
+ Partials             1436     1425      -11     

lib/parachain/chunk_fetching.go Outdated Show resolved Hide resolved
@kishansagathiya kishansagathiya merged commit e5fc704 into ChainSafe:feat/parachain Jul 7, 2023
kishansagathiya pushed a commit that referenced this pull request Jul 12, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Jul 12, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Jul 14, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
@axaysagathiya axaysagathiya deleted the issue-3338 branch July 21, 2023 07:14
kishansagathiya pushed a commit that referenced this pull request Jul 27, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Aug 4, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Aug 22, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Aug 22, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
edwardmack pushed a commit that referenced this pull request Aug 30, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
edwardmack pushed a commit that referenced this pull request Aug 31, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Sep 14, 2023
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Jan 23, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Jan 24, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
timwu20 pushed a commit that referenced this pull request Jun 13, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
timwu20 pushed a commit that referenced this pull request Jun 17, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
timwu20 pushed a commit that referenced this pull request Jun 20, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
edwardmack pushed a commit that referenced this pull request Jun 26, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
edwardmack pushed a commit that referenced this pull request Jul 12, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Jul 15, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
kishansagathiya pushed a commit that referenced this pull request Jul 15, 2024
…chunk/1 protocol (#3362)

- Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.

- implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
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.

7 participants