This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Telemetry (Slog + WS) #217
Merged
Merged
Changes from 1 commit
Commits
Show all changes
120 commits
Select commit
Hold shift + click to select a range
b20b807
Merge remote-tracking branch 'origin/master' into gav-xts-dont-panic
gavofyork b7ca4ae
Merge remote-tracking branch 'origin/master' into gav-xts-dont-panic
gavofyork b2a48c8
Update wasm.
gavofyork 2d3a1ce
consensus, session and staking all panic-safe.
gavofyork 881f6af
Democracy doesn't panic in apply.
gavofyork fee0f6f
Fix tests.
gavofyork 8b9f50f
Extra helper macro, council depanicked.
gavofyork 0e31a73
Fix one test.
gavofyork 820ec13
Fix up all council tests. No panics!
gavofyork 62ab840
Council voting depanicked.
gavofyork ff5da1a
Dispatch returns result.
gavofyork 1123ff7
session & staking tests updated
gavofyork 00ba4e0
Fix democracy tests.
gavofyork b6e54c1
Fix council tests.
gavofyork f3c1b9b
Fix up polkadot parachains in runtime
gavofyork 3b8a4be
Merge branch 'master' into gav-result-dispatch
gavofyork d51a9bd
Merge remote-tracking branch 'origin/master' into gav-result-dispatch
gavofyork 6c81a1e
Fix borked merge
gavofyork 0141a68
More Slicable support
gavofyork 34d0b75
Basic storage types.
gavofyork 96a9b01
Existential deposit for contract creation
gavofyork ea2499f
Basic implemnetation along with removals
gavofyork 193dde7
Fix tests.
gavofyork 6f9636c
externalities builder fix.
gavofyork 777f4dc
Tests.
gavofyork 4027bd2
Fix up the runtime.
gavofyork de952ba
Fix tests.
gavofyork 5e19a40
Add generic `Address` type.
gavofyork 752f1a9
Merge branch 'master' into gav-enum-accounts
gavofyork 014c13e
Initial function integration of Address into Extrinsic.
gavofyork 8d34279
Fix build
gavofyork dd824ef
All tests compile.
gavofyork f2bebd2
Fix (some) tests.
gavofyork 9ed26a5
Fix signing.
gavofyork f4ab2e5
Merge branch 'gav-enum-accounts' of github.com:paritytech/polkadot in…
gavofyork 3a1835a
Push error.
gavofyork b3a5037
transfer can accept Address
gavofyork a0f0e05
Make Address generic over AccountIndex
gavofyork 3e978c3
Fix test
gavofyork b04ff33
Make Council use Address for dispatch.
gavofyork 95063be
Fix build
gavofyork 0bd2d97
Bend over backwards to support braindead derive.
gavofyork e241ebd
Repot some files.
gavofyork 67d1e74
Fix tests.
gavofyork d6439e8
Fix grumbles
gavofyork 2a391c1
Remove Default bound
gavofyork 2353b0b
Fix build for new nightly.
gavofyork 1f5b7da
Merge remote-tracking branch 'origin/master' into gav-enum-accounts
gavofyork 904c7cc
Make `apply_extrinsic` never panic, return useful Result.
gavofyork cef4d4e
Merge remote-tracking branch 'origin/master' into gav-enum-accounts
gavofyork 5401577
Merge remote-tracking branch 'origin/master' into gav-enum-accounts
gavofyork 48d1e9f
More merge hell
gavofyork b689e16
Doesn't build, but might do soon
gavofyork f9f875e
Serde woes
gavofyork d83316a
get substrate-runtime-staking compiling
rphmeier 86de50a
Polkadot builds again!
gavofyork fcdfdce
Fix all build.
gavofyork 9ad1272
Fix tests & binaries.
gavofyork 6d27096
Merge remote-tracking branch 'origin/master' into gav-enum-accounts
gavofyork d3cb378
Reserve some extra initial byte values of address for future format c…
gavofyork c614f5d
Make semantic of `ReservedBalance` clear.
gavofyork 684daf0
Fix panic handler.
gavofyork f5a8b74
Integrate other balance transformations into the new model
gavofyork 6ba768d
Fix runtime tests.
gavofyork 3534cc5
Fix panic build.
gavofyork 267c360
Tests for demonstrating interaction between balance types.
gavofyork 7abaa1d
Repot some runtime code
gavofyork 2a39363
Fix checkedblock in non-std builds
gavofyork 8b820ed
Get rid of `DoLookup` phantom.
gavofyork a6426db
Attempt to make transaction_pool work with lookups.
gavofyork fe6fee9
Remove vscode settings
gavofyork 766e455
New attempt at making transaction pool work.
gavofyork 2015e6d
It builds again!
gavofyork 584d3e1
--all builds
gavofyork 25bd52e
Fix tests.
gavofyork 917455e
New build.
gavofyork abe5d64
Test account nonce reset.
gavofyork c4b2703
polkadot transaction pool tests/framework.
gavofyork 97c0e02
Initial draft (working).
gavofyork 8269eb3
Address grumbles.
gavofyork b54081a
Merge branch 'gav-enum-accounts' into gav-slogging
gavofyork 1cea609
Revert bad `map_or`
gavofyork 49b539e
Merge remote-tracking branch 'origin/dk-pwasm-alloc-fix' into gav-enu…
gavofyork 8e30aad
Rebuild binaries, workaround.
gavofyork 1d351d0
Merge branch 'gav-enum-accounts' into gav-slogging
gavofyork 8c999d2
Avoid checking in vscode
gavofyork 2dcd073
reconnecting, shared, slog
gavofyork 0e2aa61
Merge
gavofyork 678d027
Merge branch 'gav-enum-accounts' into gav-slogging
gavofyork 4c2cb9c
CLI options for name and telemetry url
gavofyork 9fe8144
ensure telemetry url imples enabled
gavofyork 8065ad8
Avoid casting to usize early.
gavofyork 5fa7866
Merge branch 'gav-enum-accounts' into gav-slogging
gavofyork f474509
Provide on-connect event for session message
gavofyork 3747b9b
Better port
gavofyork 94e15d0
heartbeat and some renaming
gavofyork e5cc4e3
transaction pool stuff
gavofyork e9fcff0
minor renaming.
gavofyork c1e89f5
report telemetry
gavofyork d924faf
cleanups.
gavofyork 80aadf1
Fix for previous cleanup
gavofyork 8e1041f
Initial draft (working).
gavofyork a96fa41
Avoid checking in vscode
gavofyork 1846099
reconnecting, shared, slog
gavofyork a18fcdc
CLI options for name and telemetry url
gavofyork 7537ec7
ensure telemetry url imples enabled
gavofyork b683b73
Provide on-connect event for session message
gavofyork 9408973
Better port
gavofyork 62e336f
heartbeat and some renaming
gavofyork b828986
transaction pool stuff
gavofyork 96342fc
minor renaming.
gavofyork b4626c0
report telemetry
gavofyork 2b0116e
cleanups.
gavofyork 1e58c8e
Fix for previous cleanup
gavofyork f27740f
Merge branch 'gav-slogging' of github.com:paritytech/polkadot into ga…
gavofyork 16daf46
Address grumble
gavofyork 4d88d11
Final grumble and repot telemetry to substrate
gavofyork 2f3ed06
Fix comment
gavofyork d734aec
Merge
gavofyork c593380
Please build, travis...
gavofyork File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
cleanups.
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extracting out the inner
ifto another variable would help readability.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually it seems this can be made more compact and readable just by using a match over
self.out.lock().as_ref_mut().and_then(...)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i tried, but get lifetime errors between closures since the
Someis on a&mutwithin theMutexGuard. feel free to try yourself.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
best i can get to is this, but i'd say it's less readable than the alternative: