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

Introduced parachain candidate validation #3249

Merged

Commits on May 9, 2023

  1. Introduced parachain candidate validation

    This commit adds all the functions required for parachain candidate
    validations.
    
    With this commit, we are able to take candidate receipts and
    	- get validation data for it,
    	- perform basic checks on it,
    	- run respective parachain's validate_block on parachain's
    	  runtime,
    	- get validate results from parachain's runtime and verify those
    	  validation results again relaychain runtime,
    	- and declare candidate as valid or invalid in the end.
    
    This commit also includes tests for candidate validation.
    kishansagathiya committed May 9, 2023
    Configuration menu
    Copy the full SHA
    eb87ff4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd0a656 View commit details
    Browse the repository at this point in the history
  3. fixed test:wq

    kishansagathiya committed May 9, 2023
    Configuration menu
    Copy the full SHA
    0e9ac95 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. feat/scale: add BitVec (#3253)

    kanishkatn authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    2e84116 View commit details
    Browse the repository at this point in the history
  2. feat(erasure_coding): introduce erasure coding for PoV Distributor (#…

    …3281)
    
    Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
    Co-authored-by: Edward Mack <emack@pop-os.localdomain>
    3 people authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    e9ec1de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb8a35e View commit details
    Browse the repository at this point in the history
  4. feat(parachain): add types (#3297)

    Co-authored-by: Kishan Sagathiya <kishansagathiya@gmail.com>
    kanishkatn and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    e212d48 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dcc31f1 View commit details
    Browse the repository at this point in the history
  6. feat/runtime: Add few parachain runtime calls (#3241)

    Co-authored-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
    kanishkatn and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    29ee139 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    11eaf7c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6238983 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    222e030 View commit details
    Browse the repository at this point in the history
  10. feat(parachain): Implement request and response message for /req_stat…

    …ement/1 protocol (#3354)
    
    - Added `StatementFetchingRequest` and `StatementFetchingResponse`  varying data types.
    
    - implemented 'network.Message` interface in `StatementFetchingRequest` and 'network.ResponseMessage` interface in `StatementFetchingResponse` as they will be passed into `func (rrp *RequestResponseProtocol) Do(to peer.ID, req Message, res ResponseMessage) error` function as `req` and `res`.
    
    - I didn't want to create a new YAML file here. so I decided to rename the YAML file name and variable(in which data of the YAML file getting unmarshalled) name so that I can use them in this PR.
    axaysagathiya authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    415bcdd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7d8053d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    838ae5f View commit details
    Browse the repository at this point in the history
  13. feat(lib/parachain): Implement request and response message for /req_…

    …chunk/1 protocol (#3362)
    
    - Added `ChunkFetchingRequest` and `ChunkFetchingResponse` types.
    
    - implemented network.Message interface in `ChunkFetchingRequest` and 'network.ResponseMessage' interface in `ChunkFetchingResponse`
    axaysagathiya authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    0ede93b View commit details
    Browse the repository at this point in the history
  14. feat(lib/parachain): Implement request and response message for /req_…

    …available_data/1 protocol (#3368)
    
    - Added AvailableDataFetchingRequest and AvailableDataFetchingResponse types.
    - Implemented 'network.Message' interface in AvailableDataFetchingRequest and 'network.ResponseMessage' interface in AvailableDataFetchingResponse as they will be passed into this function as req and res.
    axaysagathiya authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    d4ba1fe View commit details
    Browse the repository at this point in the history
  15. chore(lib/parachain): add tests to decode varying data types regardin…

    …g statement and collation (#3374)
    
    added New() method and decode test for below varying data types. 
    - statement
    - statement distribution message
    - collation protocol
    - collator protocol message
    axaysagathiya authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    b1757f5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a4873fd View commit details
    Browse the repository at this point in the history
  17. feat(lib/parachain): Implement request and response message for /req_…

    …pov/1 protocol (#3365)
    
    - Added PoVFetchingRequest and PoVFetchingResponse types.
    - Implemented 'network.Message' interface in PoVFetchingRequest and 'network.ResponseMessage' interface in PoVFetchingResponse as they will be passed into this function as req and res.
    axaysagathiya authored and kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    1699702 View commit details
    Browse the repository at this point in the history
  18. feat(lib/parachain): added parachain service and registering protocols (

    #3277)
    
    - Added parachain service
    - Registered collation and validation protocol
    - Confirmed that we can communicate with collators by talking to them in `run()` function
    kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    30f371d View commit details
    Browse the repository at this point in the history
  19. Implemented extra parachain host runtime API calls (#3237)

    Implemented following parachain host runtime calls
    - ParachainHost_persisted_validation_data
    - ParachainHost_validation_code
    kishansagathiya committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    3082b79 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    3807fc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7e4b0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b07e12b View commit details
    Browse the repository at this point in the history
  4. fix mock

    kishansagathiya committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    b37f560 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. addressed reviews

    kishansagathiya committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    f8e1835 View commit details
    Browse the repository at this point in the history
  2. rename

    kishansagathiya committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    0475faa View commit details
    Browse the repository at this point in the history
  3. make lint fix

    kishansagathiya committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    254e329 View commit details
    Browse the repository at this point in the history
  4. more fix

    kishansagathiya committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    a04bc30 View commit details
    Browse the repository at this point in the history
  5. Update lib/parachain/candidate_validation.go

    Co-authored-by: Eclésio Junior <eclesiomelo.1@gmail.com>
    kishansagathiya and EclesioMeloJunior authored Aug 1, 2023
    Configuration menu
    Copy the full SHA
    e2f069d View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. more reviews

    kishansagathiya committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    a514a9f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kishan/feat/parachain-candidate-validation' of github.c…

    …om:ChainSafe/gossamer into kishan/feat/parachain-candidate-validation
    kishansagathiya committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    93c350a View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Configuration menu
    Copy the full SHA
    c5ed819 View commit details
    Browse the repository at this point in the history
  2. addressed reviews

    kishansagathiya committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    a255619 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    73a4b62 View commit details
    Browse the repository at this point in the history