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

chore(release): release v0.6.0 #1722

Closed
wants to merge 142 commits into from
Closed

chore(release): release v0.6.0 #1722

wants to merge 142 commits into from

Commits on Mar 23, 2021

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

Commits on Mar 24, 2021

  1. Configuration menu
    Copy the full SHA
    dfb95d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4529aee View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2021

  1. Configuration menu
    Copy the full SHA
    3880a40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b2ad8d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    22f7269 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2021

  1. remove log (#1493)

    noot authored Mar 26, 2021
    Configuration menu
    Copy the full SHA
    a6e0bd0 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Configuration menu
    Copy the full SHA
    ae7012b View commit details
    Browse the repository at this point in the history
  2. chore(cmd): rename genesis-raw flag and files to genesis, allow raw a…

    …nd human-readable genesis to be passed to it (#1500)
    noot authored Apr 5, 2021
    Configuration menu
    Copy the full SHA
    f5de11e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2021

  1. refactor: docs: Docs Overhaul (#1438)

    * Beginning new docs
    
    * Theming set up
    
    * General layouts n links sorted
    
    * Cleaned up
    
    * Updated Commandline
    
    * Cleaned a bit
    
    * Minor cleaning
    
    * Removed todo
    
    * Config page
    
    * Connect to Polkadotjs
    
    * Fixed dev resources
    
    * New categories sorted
    
    * Updated permalink
    
    * Corrected contributor doc
    
    * Removed unused partials
    
    * Tidying
    
    * Removed offical nodes page
    
    * Amended with feed back
    
    * Resolved a majority of feedback
    
    * Ammeded workflows
    
    * Feedback
    
    * Added diagram
    
    * Recent feedback
    
    * Test package content
    
    * Removed comment
    
    * Debugging page
    
    * Block production expansion
    
    * Typos
    
    * Host spec link
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    RyRy79261 and noot authored Apr 6, 2021
    Configuration menu
    Copy the full SHA
    976f53a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e4298e View commit details
    Browse the repository at this point in the history
  3. fix: cmd/gossamer: Generate random name if --name flag not set (#1506)

    * generate random name if --name flag not set
    
    * update tests with name flag to handle random names
    
    * update tests that reference name cfg
    edwardmack authored Apr 6, 2021
    Configuration menu
    Copy the full SHA
    3c05a88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b7df8ed View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. feat: dot/telemetry: Implement basic telemetry connection (#1497)

    * implement telemetry connection server
    
    * add telemetry for import block
    
    * setup telemetry to use node name from Global config
    
    * init telemetry connections based on genesis.json values
    
    * fix error message formatting
    
    * add tests for telemetry
    
    * implement no-telemetry cli flag
    
    * fix typos
    
    * cleanup error check
    
    * create TelemetryEndpoint struct
    
    * created connection data struct to hold connection data
    
    * make TelemetryEndpoints a pointer reference
    
    * add tests for interfaceToTelemetryEndpoint
    
    * update test to fix random name
    edwardmack authored Apr 7, 2021
    Configuration menu
    Copy the full SHA
    fcb4159 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5089327 View commit details
    Browse the repository at this point in the history
  3. chore(readme): Fix broken image link (#1509)

    Co-authored-by: Arijit Das <arijit@chainsafe.io>
    dutterbutter and arijitAD authored Apr 7, 2021
    Configuration menu
    Copy the full SHA
    9453957 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    98d1413 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

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

Commits on Apr 9, 2021

  1. chore(release): Update name in package.json. (#1514)

    * Update package.json.
    
    * Disable package publish to npm.
    
    * Add support to skip a release.
    arijitAD authored Apr 9, 2021
    Configuration menu
    Copy the full SHA
    271f92e View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. feat(dot/network): Add cache for network message. (#1511)

    * Add cache for network message.
    arijitAD authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    accaf69 View commit details
    Browse the repository at this point in the history
  2. chore(release): Fix Deepsource error on development branch. (#1516)

    * Fix Deepsource error.
    
    * Fix lint issues.
    arijitAD authored Apr 13, 2021
    Configuration menu
    Copy the full SHA
    558b9b3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    610366b View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

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

Commits on Apr 15, 2021

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

Commits on Apr 16, 2021

  1. chore(dot/network, lib/grandpa): update network.ConsensusMessage, add…

    … grandpa.NeighbourMessage and handle accordingly (#1519)
    noot authored Apr 16, 2021
    Configuration menu
    Copy the full SHA
    02b53b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b18290c View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. feat(dot/network, lib/grandpa): request justification on receiving Ne…

    …ighbourMessage, verify justification on receipt (#1529)
    noot authored Apr 20, 2021
    Configuration menu
    Copy the full SHA
    e1f9f42 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. fix (dot/rpc, dot/state): state_subscribeStorage to only notify for v…

    …alue changes (#1460)
    
    * move websocket messages and listeners into own files
    
    * fix notifyStorageSubscriptions to only notify for changes
    
    * address PR comments
    
    * add to websocket tests
    
    * repair append, cleanup filter declareation
    
    * fix anti-pattern in log message
    
    * create notifyStorageSubscription for individual sub notify
    
    * add websocket listeners unit tests
    
    * cleanup merge conflicts
    
    * lint
    
    * add sleep timer
    
    * refactor websocket files
    
    * lint
    
    * a locks to fix data race
    
    * implement observer design pattern
    
    * fix race conditions
    
    * add tests
    
    * add tests
    
    * add tests
    
    * add tests
    
    * add tests
    
    * add tests
    
    * add troubleshooting stuff for testing transactions
    
    * save commit
    
    * address PR comments
    
    * lint
    
    * remove unused printf and comments
    
    * fix test
    
    * update tests
    
    * add return from error
    edwardmack authored Apr 22, 2021
    Configuration menu
    Copy the full SHA
    e5ae30d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a3dea2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f8a37b View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2021

  1. chore(linter): change locale to UK from US (#1533)

    * chore(linter): change locale to UK from US
    dutterbutter authored Apr 24, 2021
    Configuration menu
    Copy the full SHA
    40537f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

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

Commits on Apr 27, 2021

  1. chore(dot/core, dot/state, lib/grandpa): implement GrandpaState, use …

    …in DigestHandler and grandpa.Service (#1540)
    noot authored Apr 27, 2021
    Configuration menu
    Copy the full SHA
    f23a3a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

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

Commits on Apr 29, 2021

  1. Configuration menu
    Copy the full SHA
    028d25e View commit details
    Browse the repository at this point in the history
  2. chore(lib/common) implement MustHexToBigInt (#1547)

    * implement MustHexToBigInt
    
    * add tests for panics
    
    * clean-up string checking
    edwardmack authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    6fd2501 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2021

  1. Configuration menu
    Copy the full SHA
    a632dc4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88b88f2 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Configuration menu
    Copy the full SHA
    637050b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ebb87f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b86c7ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7b87f1 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. feat(dot/network): add propagate return bool to messageHandler func t…

    …ype to determine whether to propagate message or not (#1555)
    noot authored May 5, 2021
    Configuration menu
    Copy the full SHA
    0d6f488 View commit details
    Browse the repository at this point in the history
  2. feat (dot/telemetry): implement telemetry system.interval message (#1528

    )
    
    * implement network data sytem interval telemetry message
    
    * add lock to telemetry struct to fix concurrent websocket writes
    
    * implement block data system.interval telemetry message
    
    * address comments
    
    * fix race condition
    
    * fix lint
    
    * update tests
    
    * refactor tests
    
    * use interface{} for channel, add recover
    
    * rename channel doneNetworkTelemetry to closeCh
    
    * fix check for closed channel
    
    * fix error checking
    edwardmack authored May 5, 2021
    Configuration menu
    Copy the full SHA
    e749a8d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    322ccf9 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Configuration menu
    Copy the full SHA
    9aa5e9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1eb4e30 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab1e9d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b01dcc View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

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

Commits on May 10, 2021

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

Commits on May 13, 2021

  1. Configuration menu
    Copy the full SHA
    1328c80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1b26d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    180962b View commit details
    Browse the repository at this point in the history

Commits on May 14, 2021

  1. chore: add polkadotjs tests to ci (#1567)

    * chore: add polkadotjs tests to ci
    
    * Update .github/workflows/tests.yml
    
    Co-authored-by: Edward Mack <ed@edwardmack.com>
    
    * chore: update dockerfile to install yarn and cd into js test dir and install dependencies
    
    * chore:updated dockerfile to run polkadotjs tests
    
    * chore: updated deps to include js tests
    
    * chore: removed unneeded command in test wrkflow
    
    * add rpc module to gossamer start-up
    
    * fix linter rants
    
    Co-authored-by: Edward Mack <ed@edwardmack.com>
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    3 people authored May 14, 2021
    Configuration menu
    Copy the full SHA
    eef03c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    86acc43 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. Configuration menu
    Copy the full SHA
    a1cd49a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c52793a View commit details
    Browse the repository at this point in the history
  3. chore: improved ci caching for mod and build. Also add codecov id-ci-…

    …fail success attribute (#1590)
    
    Co-authored-by: Arijit Das <arijit@chainsafe.io>
    dutterbutter and arijitAD authored May 17, 2021
    Configuration menu
    Copy the full SHA
    598de4e View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. Configuration menu
    Copy the full SHA
    24e1516 View commit details
    Browse the repository at this point in the history
  2. feat(rpc/subscription): implement state_unsubscribeStorage (#1574)

    * implement state_unsubscribeStorage
    
    * add value checks, add tests
    
    * handle string parameter, add tests, use const for error messages
    
    * parse to uint
    
    * update type
    
    * update variable names (based on comments)
    
    Co-authored-by: Arijit Das <arijit@chainsafe.io>
    edwardmack and arijitAD authored May 18, 2021
    Configuration menu
    Copy the full SHA
    7574f10 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. fix: pending bubble hidden after block included (#1592)

    * fix: pending bubble hidden after block included
    
    * chore: fix typo
    
    * chore: change FindExtrinsic to HasExtrinsic
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    EclesioMeloJunior and noot authored May 19, 2021
    Configuration menu
    Copy the full SHA
    5826322 View commit details
    Browse the repository at this point in the history
  2. fix(dot/network) track sent/received requests by hash (#1575)

    * fix(dot/network): add map to track requests by hash
    
    * chore: remove store request by hash when sync fails
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    EclesioMeloJunior and noot authored May 19, 2021
    Configuration menu
    Copy the full SHA
    935bc59 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

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

Commits on May 21, 2021

  1. fix(utils): create a specific folder for database (#1598)

    * feat: create a specific folder for database
    
    * chore: remove unused const
    
    * fix: add default database dir on NodeInitialized function
    
    * fix: change default database dir to db and fix typo
    EclesioMeloJunior authored May 21, 2021
    Configuration menu
    Copy the full SHA
    8c67795 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d483f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f18d89e View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

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

Commits on May 26, 2021

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

Commits on May 28, 2021

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

Commits on May 31, 2021

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

Commits on Jun 1, 2021

  1. fix(dot/core): Fix handle transaction message test. (#1607)

    * fix(dot/core): Fix handle transaction message test.
    
    * Remove hardcoded extrinsic value.
    
    * Add subkey for Macos.
    
    * Add subkey in the coverage report.
    arijitAD authored Jun 1, 2021
    Configuration menu
    Copy the full SHA
    58b8725 View commit details
    Browse the repository at this point in the history
  2. chore(dot/network): Add test for leb128 to uint64 conversion. (#1614)

    * Add test for leb128 to uint86 conversion.
    arijitAD authored Jun 1, 2021
    Configuration menu
    Copy the full SHA
    dd3838c View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2021

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

Commits on Jun 3, 2021

  1. fix(dot/network): implement a handshake timeout (#1615)

    * chore: return the bytes read by leb128
    
    * feat: add handshake timeout
    
    * chore: remove debug network loglevel
    
    * chore: get back to trace
    
    * chore: stop ticker no matter the case
    
    * chore: implement timer and use unbuffered
    
    * chore: using defer
    
    * chore: remove the timer.Stop() when the <-timer.C was called
    EclesioMeloJunior authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    87c2f63 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

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

Commits on Jun 7, 2021

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

Commits on Jun 8, 2021

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

Commits on Jun 9, 2021

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

Commits on Jun 11, 2021

  1. fix(dot/network, lib/grandpa): fix handshake decoding and grandpa mes…

    …sage handler sigabort (#1631)
    noot authored Jun 11, 2021
    Configuration menu
    Copy the full SHA
    887f72c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    957302f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d082b9e View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2021

  1. Configuration menu
    Copy the full SHA
    f5bd761 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c18e47 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    57027db View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d87aaeb View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

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

Commits on Jun 17, 2021

  1. Configuration menu
    Copy the full SHA
    3eb9399 View commit details
    Browse the repository at this point in the history
  2. chore: updated doc links (#1647)

    * chore: updated doc links
    
    * chore: increase timeout
    
    * chore: update linter config
    dutterbutter authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    c6686f0 View commit details
    Browse the repository at this point in the history
  3. chore(dot/core, dot/sync, lib/babe): refactor handling on block impor…

    …t to reduce duplicate code (#1645)
    noot authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    1c27575 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. chore: change tests log level to info (#1644)

    * chore: change tests log level to info
    
    * chore: revert previus log levels
    
    * chore: fix the corrects levels
    
    * ajust make mock command
    
    * exec go mod tidy
    
    * fix lint
    
    * chore: update docs
    EclesioMeloJunior authored Jun 18, 2021
    Configuration menu
    Copy the full SHA
    204af0e View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. fix(dot/core): check transaction Validity.Propagate field to determin…

    …e whether to propagate tx (#1643)
    
    * check validate.Propagate field
    
    * add functionality to remove non-propagate txs
    
    * fix mocks
    
    * chore: adding verbosity to golangci
    
    * chore: change the out-format argument golangci
    
    * using print-issued-lines arg
    
    * ínstalling golangci instead use github actions
    
    * lint
    
    * clean-up logic checks
    
    * run make mock
    
    * update comments, fix mock output
    
    * add test for bogus extrinsic
    
    * fix spelling
    
    * change logging level
    
    Co-authored-by: Eclésio Júnior <eclesiomelo.1@gmail.com>
    edwardmack and EclesioMeloJunior authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    81f23cc View commit details
    Browse the repository at this point in the history
  2. refactor(lib/scale): refactor lib/scale into own package with idiomat…

    …ic types, marshalling, and optionality (#1548)
    
    * scale encoding with optionality, struct tag field ordering, uint128
    
    * add indices caching
    
    * add mtx
    
    * add variable data type interface, test to compare old vs new encoding
    
    * fix width int decode and tests
    
    * wip
    
    * []byte, string decoding
    
    * encodeBool and tests
    
    * refactor tests, include optionality tests
    
    * use shared tests in decode
    
    * struct decode tests, and unmarshal refactor
    
    * wip
    
    * decode of VariantDataType, wip tests
    
    * add optionality testing
    
    * fix struct tests and optionality tests
    
    * test VaryingDataType
    
    * wip decode refactor, use reflect.Value as passed param
    
    * repurpose int and uint as compact length encoded integers, remove unnecessary handling of []int
    
    * cleanup, and all tests benchmark
    
    * add README
    
    * update README
    
    * update readme
    
    * update readme
    
    * update README
    
    * update README
    
    * rResult encode/decode and RegisterResult
    
    * wip cr feedback
    
    * add licenses
    
    * add custom primitive encode/decode
    
    * more cr feedback
    
    * cr feedback
    
    * wip
    
    * revise Result
    
    * add readme
    
    * add usage example for Result
    
    * refactor(lib/scale): Revise VaryingDataType interfaces, and introduce VaryingDataTypeSlice (#1651)
    
    * wip VaryingDataType and VaryingDataTypeSlice
    
    * refactor VaryingDataType and add VaryingDataTypeSlice
    
    * update README
    
    * fix lint
    
    * update examples
    
    * fix deepsource
    
    * check decoded in comparison_test
    
    * cr feedback
    
    * fix result.set with nil value
    timwu20 authored Jun 23, 2021
    Configuration menu
    Copy the full SHA
    51cfcd7 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. feat(dot/babe) implement block production time metric (#1648)

    * metric: gossamer_proposer_block_constructed
    
    * chore: improve metrics instance and add tests
    
    * chore: add peer check and peerstore metrics
    
    * chore: fix pacakge name and interface to gauge struct
    
    * chore: change to const
    
    * chore: adjust babe metrics
    
    * chore: removing duplicated net metrics
    
    * chore: improve babe time to build block test
    
    * chore: fix CI tests failures
    
    * exec go mod tidy
    
    * chore: go mod
    
    * change docker-compose instructions to docs/ folder
    EclesioMeloJunior authored Jun 24, 2021
    Configuration menu
    Copy the full SHA
    23007f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5c3dbfe View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2021

  1. chore: replace time.After with time.NewTicker (#1650)

    * replace time.After with time.NewTimer
    
    * replace time.Affer with time.NewTicker
    
    * lint
    
    * replace time.After is discovery so ttl var is used
    
    * replace time.After in if statement
    
    * add configuration variables for time duration functions
    edwardmack authored Jun 28, 2021
    Configuration menu
    Copy the full SHA
    bb281d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2021

  1. feat(dot/telemetry): implement telemetry message network_state (#1618)

    * refactor telemetry messages to map format
    
    * add basic network state telemetry message
    
    * refactor message sender to handle interface{} types
    
    * refactor telemetry messages to be structs
    
    * lint
    
    * go fmt
    
    * lint
    
    * move msg building logic outside msg sending loop
    
    * make telemetry messages an interface
    
    * Lookup transactions count from TransactionsState
    
    * address comments
    
    * fix mocks for tests
    
    * lint
    
    * refactor TelemetryMessage to Message
    
    * update mock handler to return result
    
    * add TransactionsCount to mockhandler
    
    * move logic to build new network state message
    
    * lint
    
    * fix interface
    
    * update mockhandler
    
    * lint
    edwardmack authored Jun 30, 2021
    Configuration menu
    Copy the full SHA
    a81844e View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2021

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

Commits on Jul 2, 2021

  1. feat(lib/transactions) ready transactions metrics (#1656)

    * pool ready transaction metrics
    
    * chore: add priority queue metrics
    
    * chore: fix lint
    
    * chore: remove println
    
    * chore: add copyright comments
    
    * chore: resolve comments
    
    * chore: remove stop function and add comments to exported funcs
    
    * chore: adjust tests
    
    * chore: make metrics.Start blocking and using wg to inner gorout
    
    * chore: fix typo
    
    * chore: fix metrics test
    
    * fix: solving data race condition on metrics tests
    EclesioMeloJunior authored Jul 2, 2021
    Configuration menu
    Copy the full SHA
    f5a4d3b View commit details
    Browse the repository at this point in the history
  2. feat(lib/trie): Parallel hash trie. (#1657)

    * feat(lib/trie): Parallel hash trie.
    
    * Fix race.
    
    * Use bytes.Buffer in pool.
    arijitAD authored Jul 2, 2021
    Configuration menu
    Copy the full SHA
    22827e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2021

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

Commits on Jul 6, 2021

  1. Configuration menu
    Copy the full SHA
    6fbf2fd View commit details
    Browse the repository at this point in the history
  2. chore (pkg/scale) scale babe integration (#1670)

    * integrate scale into babe library
    
    * use results for unmarshalling
    
    * clean up code
    
    * fix switch to pass checks
    
    * integrate scale into dot/sync
    
    * cr feedback
    
    * merge
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    jimjbrettj and noot authored Jul 6, 2021
    Configuration menu
    Copy the full SHA
    7ecada2 View commit details
    Browse the repository at this point in the history
  3. feat(lib/grandpa) implement grandpa finality round metrics (#1655)

    * chore: implement grandpa finality round
    
    * pool ready transaction metrics
    
    * chore: add priority queue metrics
    
    * chore: fix lint
    
    * chore: add gauge collector interface
    
    * chore: fix lint
    
    * remove unused metrics timeout
    
    * chore: remove unused test
    
    * remove unused consts
    
    * chore: adding tests
    EclesioMeloJunior authored Jul 6, 2021
    Configuration menu
    Copy the full SHA
    ce9a8a4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bcc7935 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ecef3b View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Configuration menu
    Copy the full SHA
    d320d1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3350232 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d36c3b7 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2021

  1. Configuration menu
    Copy the full SHA
    e02eca4 View commit details
    Browse the repository at this point in the history
  2. chore (pkg/scale) integrate scale into dot/core and dot/sync (#1676)

    * scale into messages_test
    
    * integrate scale into dot core
    
    * integrate scale into dot/sync
    
    * integrate scale into sync and core
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    jimjbrettj and noot authored Jul 8, 2021
    Configuration menu
    Copy the full SHA
    1916f86 View commit details
    Browse the repository at this point in the history
  3. chore (pkg/scale) integrate scale pkg into dot/rpc (#1678)

    * integrate scale into dot/sync
    
    * integrate scale into dot/rpc
    
    * scale into epoch
    
    * integrate scale into pruner
    
    * integrate scale pkg into dot/state
    
    * WIP/Fix digest encoding errors
    
    * remove changes in dot/state to include in separate PR
    jimjbrettj authored Jul 8, 2021
    Configuration menu
    Copy the full SHA
    6d38d76 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2021

  1. feat(lib/grandpa) add round state rpc call (#1664)

    * chore: add interface for grandpa in rpc pkg
    
    * chore: create roundState rpc call
    
    * chore: coment unused branch
    
    * chore: fix lint
    
    * chore: add test case
    
    * chore: fix lint
    
    * chore: address comments
    
    * chore: fix the diff implementation
    
    * chore: address comment
    
    * chore: change PreVotes and PreCommits interface signature
    
    * chore: remove check
    
    * chore: improve code defs
    EclesioMeloJunior authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    670d418 View commit details
    Browse the repository at this point in the history
  2. chore: replace unbuffered channels with buffered channels (#1668)

    * add buffer to channels
    
    * add buffers to channels in tests
    
    * remove buffers from channels that shouldn't be buffered
    
    * added DEFAULT_BUFFERS_SIZE const
    
    * lint
    
    * addres comments
    edwardmack authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    a9b3ccc View commit details
    Browse the repository at this point in the history
  3. fix(lib/babe): always use 2/3 of slot to produce block, re-add potent…

    …ially valid txs to queue (#1679)
    noot authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    cf93ad3 View commit details
    Browse the repository at this point in the history
  4. fix(dot/types): fix max value for digest (#1687)

    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    arijitAD and noot authored Jul 9, 2021
    Configuration menu
    Copy the full SHA
    48405e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

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

Commits on Jul 13, 2021

  1. feat(dot/rpc) Add system_localPeerId rpc call (#1690)

    * chore: add local peer id rpc call
    
    * chore: add func desc
    
    * cover empty test case
    
    * chore: ignore Id on func name
    
    * chore: adjusts tests
    EclesioMeloJunior authored Jul 13, 2021
    Configuration menu
    Copy the full SHA
    7f51e4c View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

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

Commits on Jul 15, 2021

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

Commits on Jul 16, 2021

  1. chore(lib/grandpa, dot/network): send CommitMessage directly to pee…

    …r on round mismatch; cleanup grandpa `receiveMessages` (#1684)
    noot authored Jul 16, 2021
    Configuration menu
    Copy the full SHA
    093e149 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. feat(dot/rpc) Add system_syncState rpc call (#1691)

    * chore: adjust tests
    
    * chore: exposing network methods
    
    * chore: add test
    
    * chore: resolve lint and improve func description
    
    * chore: resolve lint
    EclesioMeloJunior authored Jul 19, 2021
    Configuration menu
    Copy the full SHA
    a3786e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb0a751 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. chore(lib/common) implement byte pool to improve websocket subscripti…

    …on efficiency (#1693)
    
    * implement bufferpool
    
    * implement byte pool for subscription setup
    
    * lint
    
    * fix lint
    
    * address comments
    
    * refactor UnregisterFinalizedChannel to UnregisterFinalisedChannel
    
    * lint
    
    * change error handling
    
    * refactor NumPooled to Len
    edwardmack authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    9ce6d44 View commit details
    Browse the repository at this point in the history
  2. fix(dot/state): track runtime per-block, fix runtime upgrades differi…

    …ng between forks (#1638)
    
    * fix runtime upgrade
    
    * Add runtime in blocktree.
    
    * Remove runtime instance from babe service.
    
    * Remove runtime instance from sync service.
    
    * Self review.
    
    * Fix chain reorg test.
    
    * Fix failing test.
    
    * Self review.
    
    * Address comments.
    
    * Remove unused functions from interface.
    
    * Fix failing test.
    
    * fix TestService_HandleSubmittedExtrinsic
    
    * update HandleTransactionMessage to set runtime storage before validating
    
    * Fix failing test.
    
    * address comment
    
    * lint
    
    * cleanup
    
    Co-authored-by: noot <elizabethjbinks@gmail.com>
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    3 people authored Jul 21, 2021
    Configuration menu
    Copy the full SHA
    e133884 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. feat(dot/network) add network_is_major_syncing metric (#1697)

    * chore: transform goal into atomic
    
    * add tests
    
    * remove debug from polkadot config
    
    * chore: add comment
    
    * chore: remove comments
    
    * change var name
    
    Co-authored-by: Timothy Wu <timwu20@gmail.com>
    
    * update var name
    
    * chore: add metrics port
    
    * chore: add clean up to close dbs while testing
    
    Co-authored-by: Timothy Wu <timwu20@gmail.com>
    EclesioMeloJunior and timwu20 authored Jul 23, 2021
    Configuration menu
    Copy the full SHA
    4ee1be6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08516a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2021

  1. fix(docs): improve build-spec usage docs (#1706)

    * feat: improve build-spec usage docs
    
    * add doc to use  build-spec command using --output flag
    EclesioMeloJunior authored Jul 24, 2021
    Configuration menu
    Copy the full SHA
    2e164b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

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

Commits on Jul 29, 2021

  1. add Jimmy to codeowners (#1711)

    noot authored Jul 29, 2021
    Configuration menu
    Copy the full SHA
    e7226ae View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. feat(dot/rpc) implement author_hasSessionKeys RPC call (#1704)

    * chore: add interface for grandpa in rpc pkg
    
    * chore: create roundState rpc call
    
    * chore: coment unused branch
    
    * chore: fix lint
    
    * chore: add test case
    
    * chore: fix lint
    
    * chore: add grandpa subscribe justification rpc call
    
    * chore: add cancel function to stop goroutine when unsuubscribe
    
    * chore: resolve lint
    
    * chore: add tests to subscribe justification call
    
    * remove deps from round state rpc call pr
    
    * chore: remove unecessary changes
    
    * remove inpackage well mock is in mocks folder
    
    * chore: fix lint
    
    * wip: fixing tests
    
    * chore: use channels to control goroutines
    
    * chore: resolve lint
    
    * add time.Duration on structs
    
    * chore: add runtime method and rpc method
    
    * wip: fix runtime response scale decoding
    
    * chore: adding data to tests
    
    * wip: improve test coverage and assertions
    
    * chore: hasSessionKey rpc call done
    
    * chore: change config.toml back
    
    * chore: remove log, add string.EqualFold
    
    * chore: remove unused logs, get back new private key
    
    * update hasSessionKey method to use coreapi insted of runtime api
    
    * chore: resolve lint issues
    
    * chore: change from []byte to []uint8
    
    * chore: fix tests failures
    
    * chore: fix HasSessionKeyResponse comments
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    
    * chore: fix KeyTypeID comments
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    
    * chore: update comments, unexport struct and remove qtyCheck
    
    * chore: improve hasSessionKey key check
    
    * chore: update params to represent better data
    
    * chore: improve func name to DecodeKeyPairFromHex
    
    * chore: get back func names to avoid naming conflicts
    
    * chore: update go.sum
    
    * chore: update grandpa_subscribeJustification return response
    
    * chore: fix lint issues
    
    * chore: check the len of the slice of decoded keys
    
    * chore: update exports comments
    
    * chore: update the import style
    
    * chore: improve DecodeKeyPairFromHex export comment
    
    * chore: hasSessionKeys test fixed
    
    * chore: improve export function comment
    
    * chore: group rpc methods string in a unique place
    
    * chore: use chan struct{}
    
    * chore: fix tests that uses wsconn
    
    * chore: fix subscription test
    
    * chore: improve log message
    
    * chore: fix lint issues
    
    * chore: increase the author RPC method qty
    
    * chore: fix deepsource style error
    
    Co-authored-by: Arijit Das <arijitad.in@gmail.com>
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    3 people authored Aug 3, 2021
    Configuration menu
    Copy the full SHA
    86df957 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. Configuration menu
    Copy the full SHA
    65380fd View commit details
    Browse the repository at this point in the history
  2. feat(dot/rpc) add grandpa_subscribeJustifications rpc call (#1672)

    * chore: add interface for grandpa in rpc pkg
    
    * chore: create roundState rpc call
    
    * chore: coment unused branch
    
    * chore: fix lint
    
    * chore: add test case
    
    * chore: fix lint
    
    * chore: add grandpa subscribe justification rpc call
    
    * chore: add cancel function to stop goroutine when unsuubscribe
    
    * chore: resolve lint
    
    * chore: add tests to subscribe justification call
    
    * remove deps from round state rpc call pr
    
    * chore: remove unecessary changes
    
    * remove inpackage well mock is in mocks folder
    
    * chore: fix lint
    
    * wip: fixing tests
    
    * chore: use channels to control goroutines
    
    * chore: resolve lint
    
    * add time.Duration on structs
    
    * chore: update grandpa_subscribeJustification return response
    
    * chore: fix lint issues
    
    * chore: resolve tests issues
    
    * chore: fix channels and methods const
    
    * chore: improve error messages
    
    Co-authored-by: Arijit Das <arijitad.in@gmail.com>
    EclesioMeloJunior and arijitAD authored Aug 4, 2021
    Configuration menu
    Copy the full SHA
    fc4abf1 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Configuration menu
    Copy the full SHA
    f73574c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67c93f4 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2021

  1. feat(dot/rpc) implement author_hasSessionKeys RPC call (#1715)

    * chore: add interface for grandpa in rpc pkg
    
    * chore: create roundState rpc call
    
    * chore: coment unused branch
    
    * chore: fix lint
    
    * chore: add test case
    
    * chore: fix lint
    
    * chore: add grandpa subscribe justification rpc call
    
    * chore: add cancel function to stop goroutine when unsuubscribe
    
    * chore: resolve lint
    
    * chore: add tests to subscribe justification call
    
    * remove deps from round state rpc call pr
    
    * chore: remove unecessary changes
    
    * remove inpackage well mock is in mocks folder
    
    * chore: fix lint
    
    * wip: fixing tests
    
    * chore: use channels to control goroutines
    
    * chore: resolve lint
    
    * add time.Duration on structs
    
    * chore: add runtime method and rpc method
    
    * wip: fix runtime response scale decoding
    
    * chore: adding data to tests
    
    * wip: improve test coverage and assertions
    
    * chore: hasSessionKey rpc call done
    
    * chore: change config.toml back
    
    * chore: remove log, add string.EqualFold
    
    * chore: remove unused logs, get back new private key
    
    * update hasSessionKey method to use coreapi insted of runtime api
    
    * chore: resolve lint issues
    
    * chore: change from []byte to []uint8
    
    * chore: fix tests failures
    
    * chore: fix HasSessionKeyResponse comments
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    
    * chore: fix KeyTypeID comments
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    
    * chore: update comments, unexport struct and remove qtyCheck
    
    * chore: improve hasSessionKey key check
    
    * chore: update params to represent better data
    
    * chore: improve func name to DecodeKeyPairFromHex
    
    * chore: get back func names to avoid naming conflicts
    
    * chore: update go.sum
    
    * chore: update grandpa_subscribeJustification return response
    
    * chore: fix lint issues
    
    * chore: check the len of the slice of decoded keys
    
    * chore: update exports comments
    
    * chore: update the import style
    
    * chore: improve DecodeKeyPairFromHex export comment
    
    * chore: hasSessionKeys test fixed
    
    * chore: improve export function comment
    
    * chore: group rpc methods string in a unique place
    
    * chore: use chan struct{}
    
    * chore: fix tests that uses wsconn
    
    * chore: fix subscription test
    
    * chore: improve log message
    
    * chore: fix lint issues
    
    * chore: increase the author RPC method qty
    
    * chore: fix deepsource style error
    
    * chore: keep just related changes
    
    * chore: improve test coverage
    
    * chore: improve test coverage on lib/keystore/helpers.go
    
    * chore: improve testing and remove unused function
    
    * chore: create more test cases to hasSessionKey RPC method
    
    Co-authored-by: Arijit Das <arijitad.in@gmail.com>
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    3 people authored Aug 6, 2021
    Configuration menu
    Copy the full SHA
    c47a217 View commit details
    Browse the repository at this point in the history
  2. feat(dot/rpc/modules) implement state_queryStorage rpc method (#1707)

    * wip: state query storage rpc
    
    * chore: query keys from block stateRoot
    
    * chore: implemented rpc method and format response correctly
    
    * chore: check starting block hash is nil
    
    * chore: use GetStorage instead of TrieState
    
    * chore: remove logs
    
    * chore: resolve lint issues
    
    * chore: preallocate slice, use varidic param
    
    * chore: update variable name
    
    * chore: made from not nulable
    
    * chore: get best block hash if to is nil
    
    * chore: remove pointer and compare with EmptyHash
    
    * chore: fix tests, remove write to nil reference
    
    * chore: fix deepsource rule
    
    * chore: fix rpc test
    
    * chore: uncomment conditional test
    
    * chore: improve testing
    
    * chore: change from null to a empty array
    
    * chore: skip state_queryStorage RPC method test
    
    * chore: remove unconsitent test check
    EclesioMeloJunior authored Aug 6, 2021
    Configuration menu
    Copy the full SHA
    d30c7ed View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. feat(dot/rpc/modules): add system_addReservedPeer and `system_remov…

    …eReservedPeer` RPC call (#1712)
    
    * chore: include rpc methods and adding peers on store
    
    * chore: add unit tests for reserved peers on net layer
    
    * chore: add unit tests for reserved peers on net layer
    
    * chore: remove redundancy conditionals
    
    * chore: add and remove peers from protected map
    
    * increase the system RPC methods qtt
    
    * chore: test add and remove protected peers
    
    * chore: improve comment at removeReservedPeers
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    
    * chore: improve comment at addReservedPeers
    
    * chore: jump when there is no peer to disconect
    
    * chore: fix lint issues
    
    * chore: remove unused checks and use trim space
    
    * chore: improve test coverage
    
    * chore: remove global websocket test variable
    
    * chore: improve tests on modules/system
    
    Co-authored-by: noot <36753753+noot@users.noreply.github.com>
    EclesioMeloJunior and noot authored Aug 9, 2021
    Configuration menu
    Copy the full SHA
    dba5922 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2021

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