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

Author a sibling block in case best block's slot is same as current slot #2827

Merged
merged 62 commits into from
Sep 26, 2022

Commits on Jul 18, 2022

  1. temp

    kishansagathiya committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    5cd4263 View commit details
    Browse the repository at this point in the history
  2. temp

    kishansagathiya committed Jul 18, 2022
    Configuration menu
    Copy the full SHA
    f57fa84 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2022

  1. Configuration menu
    Copy the full SHA
    ca4724f View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2022

  1. temp

    kishansagathiya committed Aug 3, 2022
    Configuration menu
    Copy the full SHA
    12fde0b View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. While authoring a new block, if we find that best block was authored in

    the current slot, we should author a new block as child of best block's
    parent.
    
    This would create forks in the chain which would get resolved
    eventually.
    kishansagathiya committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    ae2fa69 View commit details
    Browse the repository at this point in the history
  2. clean up

    kishansagathiya committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    cc2ffaf View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. Configuration menu
    Copy the full SHA
    cbc44d2 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Configuration menu
    Copy the full SHA
    3de132f View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. test

    kishansagathiya committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    a63a073 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aca3b68 View commit details
    Browse the repository at this point in the history
  3. test that we create a fork if best block is authored in the same slot

    that we are claiming at the moment
    kishansagathiya committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    9c9f47b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2022

  1. temp

    kishansagathiya committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    527f515 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2022

  1. fixed tests

    kishansagathiya committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    cecc308 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d022f43 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. Configuration menu
    Copy the full SHA
    540c09a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1edb86b View commit details
    Browse the repository at this point in the history
  3. chore(wasmer): add helpers.go file with helper functions (#2749)

    - Split out (CGO related) helper functions from `imports.go` to `lib/runtime/wasmer/helpers.go`
    - Move pointer size helper functions to `lib/runtime/wasmer/helpers.go`
    - Change `toWasmMemorySized` to NOT take a size argument (unneeded)
    - Clarify all comments for helper functions
    - Update all error wrappings
    - Review variable names
      - Use `ptr` instead of `out` for 32 bit pointers
      - Use `pointerSize` instead of `span` for 64 bit pointers size
      - Name return values
      - Other minor renamings such as `res` to `result`, `enc` to `encodedResult`
    - Optimizations:
      - `storageAppend`: use slice capacity allocation, `copy` and remove unneeded `append`s
      - `toKillStorageResultEnum`: use `copy` instead of `append`
      - `toWasmMemoryOptional`: remove unneeded variable copy
    qdm12 committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    7fa9196 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Configuration menu
    Copy the full SHA
    64e3c03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db03cbb View commit details
    Browse the repository at this point in the history
  3. merge fix

    kishansagathiya committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    95a7a35 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2022

  1. Configuration menu
    Copy the full SHA
    220f5ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37fa232 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2022

  1. intermediate

    kishansagathiya committed Sep 15, 2022
    Configuration menu
    Copy the full SHA
    11471e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e0109dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93b3057 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fdb1fd2 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2022

  1. more fix

    kishansagathiya committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    388678a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0862104 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c99b776 View commit details
    Browse the repository at this point in the history
  4. reuse network mocks

    kishansagathiya committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    26f8769 View commit details
    Browse the repository at this point in the history
  5. more fix

    kishansagathiya committed Sep 16, 2022
    Configuration menu
    Copy the full SHA
    22d9b2c View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2022

  1. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    3e2aa7f View commit details
    Browse the repository at this point in the history
  2. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    1589dc9 View commit details
    Browse the repository at this point in the history
  3. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    8ec533c View commit details
    Browse the repository at this point in the history
  4. Update lib/babe/babe.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    8448863 View commit details
    Browse the repository at this point in the history
  5. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    ce9e195 View commit details
    Browse the repository at this point in the history
  6. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    bcdf2b5 View commit details
    Browse the repository at this point in the history
  7. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    9a9f26d View commit details
    Browse the repository at this point in the history
  8. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    b065fb8 View commit details
    Browse the repository at this point in the history
  9. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 19, 2022
    Configuration menu
    Copy the full SHA
    264db41 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2022

  1. Update dot/state/block_notify.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    24e69e6 View commit details
    Browse the repository at this point in the history
  2. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    2fd728a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    31fa786 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'kishan/fix/slot-number-must-increase' of github.com:Cha…

    …inSafe/gossamer into kishan/fix/slot-number-must-increase
    kishansagathiya committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    881eee0 View commit details
    Browse the repository at this point in the history
  5. Update lib/babe/babe.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    34800ee View commit details
    Browse the repository at this point in the history
  6. Update lib/babe/babe.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    8155d43 View commit details
    Browse the repository at this point in the history
  7. Update lib/babe/babe.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    d0b2a1b View commit details
    Browse the repository at this point in the history
  8. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    03db54d View commit details
    Browse the repository at this point in the history
  9. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    45b5fd3 View commit details
    Browse the repository at this point in the history
  10. Update lib/babe/errors.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    a71de07 View commit details
    Browse the repository at this point in the history
  11. fix

    kishansagathiya committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    37b41ca View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    532c617 View commit details
    Browse the repository at this point in the history
  13. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    f56e154 View commit details
    Browse the repository at this point in the history
  14. Update lib/babe/babe_integration_test.go

    Co-authored-by: Quentin McGaw <quentin.mcgaw@gmail.com>
    kishansagathiya and qdm12 committed Sep 21, 2022
    Configuration menu
    Copy the full SHA
    849ad82 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2022

  1. Configuration menu
    Copy the full SHA
    9ba1b58 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kishan/fix/slot-number-must-increase' of github.com:Cha…

    …inSafe/gossamer into kishan/fix/slot-number-must-increase
    kishansagathiya committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    8dbc936 View commit details
    Browse the repository at this point in the history
  3. some clean up

    kishansagathiya committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    db736ba View commit details
    Browse the repository at this point in the history
  4. Update lib/babe/babe_integration_test.go

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

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    65f649e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'kishan/fix/slot-number-must-increase' of github.com:Cha…

    …inSafe/gossamer into kishan/fix/slot-number-must-increase
    kishansagathiya committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    e667450 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06313f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb1a02c View commit details
    Browse the repository at this point in the history