Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fail docs on warnings (#5923)
Browse files Browse the repository at this point in the history
* change (ci): docs job optimized; runs every commit; fails on warnings

* change (ci): rename jobs; temporary allow failing

* change (ci): better warnings filtering

* fix (ci): hotfix Docker release

* test (ci): run docs job with flags

* test (ci): pwd fails

* change (ci): pass just //doc dir as an artifact; debug

* change (ci): return to the previous structure; undebug

* change (ci): typo

* rebase on upstream 2

* fix the jobname

* Fix some warnings (#7079)

* Partial fix for transaction priority (#7034)

* Partial fix for priority stuff.

* Small fix

* Fix tests.

* Update frame/transaction-payment/src/lib.rs

Co-authored-by: Tomasz Drwięga <[email protected]>

* Better doc

Co-authored-by: Tomasz Drwięga <[email protected]>

* What happens if we remove wat? (#7056)

* What happens if we remove wat?

* Update Cargo.lock

* Make SlashingSpans Public (#6961)

* Make SlashingSpans Public

Offchain Applications will often need to inspect this type because it is directly used in staking election, thus worthy of being `pub`. Rest of the slashing api can remain private, only this and the `fn last_non_zero_slash()` of `SlashingSpans` are of interest.

* Update frame/staking/src/lib.rs

* client/authority-discovery/src/service: Improve docs (#7059)

* Decrease poll interval (#7063)

* Remove unused code (#7027)

Signed-off-by: Jimmy Chu <[email protected]>

* Disambiguate `BlockNumber` type in `decl_module` (#7061)

* Disambiguate `BlockNumber` type in `decl_module`

* fix `frame-support-tests`

* fix ui tests

* fix trait order

* Implement `FromStr` for `Ss58AddressFormat` (#7068)

* Implement `FromStr` for `Ss58AddressFormat`

* Update primitives/core/src/crypto.rs

Co-authored-by: Shawn Tabrizi <[email protected]>

Co-authored-by: Shawn Tabrizi <[email protected]>

* Set reserved nodes with offchain worker. (#6996)

* add offchain worker api to set reserved nodes.

* new offchain api to get node public key.

* node public key from converter

* refactor set reserved nodes ocw api.

* new ndoe authorization pallet

* remove unnecessary clone and more.

* more

* tests for node authorization pallet

* remove dependency

* fix build

* more tests.

* refactor

* Update primitives/core/src/offchain/testing.rs

Co-authored-by: Tomasz Drwięga <[email protected]>

* Update frame/node-authorization/src/lib.rs

Co-authored-by: Tomasz Drwięga <[email protected]>

* Update frame/node-authorization/src/lib.rs

Co-authored-by: Tomasz Drwięga <[email protected]>

* Update frame/node-authorization/src/lib.rs

Co-authored-by: Tomasz Drwięga <[email protected]>

* format code

* expose NetworkService

* remove NetworkStateInfo in offchain

* replace NodePublicKey with PeerId.

* set max length of peer id.

* clear more

* use BTreeSet for set of peers.

* decode opaque peer id.

* extract NetworkProvider for client offchain.

* use OpaquePeerId in node authorization pallet.

* fix test

* better documentation

* fix test

* doc

* more fix

* Update primitives/core/src/offchain/mod.rs

Co-authored-by: Pierre Krieger <[email protected]>

* Update client/offchain/src/api.rs

Co-authored-by: Pierre Krieger <[email protected]>

* derive serialize and deserialize

Co-authored-by: Tomasz Drwięga <[email protected]>
Co-authored-by: Pierre Krieger <[email protected]>

* Fix some warnings

Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: Tomasz Drwięga <[email protected]>
Co-authored-by: Sergei Shulepov <[email protected]>
Co-authored-by: Max Inden <[email protected]>
Co-authored-by: s3krit <[email protected]>
Co-authored-by: Jimmy Chu <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: kaichao <[email protected]>
Co-authored-by: Pierre Krieger <[email protected]>

* Fix more doc errors

* More doc fixes

* Remove subdb to make `rustdoc` happy

* Make the line length check happy

* Fix compilation error

* Another try

* Allow unused

Co-authored-by: Dan Forbes <[email protected]>
Co-authored-by: Kian Paimani <[email protected]>
Co-authored-by: Tomasz Drwięga <[email protected]>
Co-authored-by: Sergei Shulepov <[email protected]>
Co-authored-by: Max Inden <[email protected]>
Co-authored-by: s3krit <[email protected]>
Co-authored-by: Jimmy Chu <[email protected]>
Co-authored-by: Shawn Tabrizi <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
Co-authored-by: kaichao <[email protected]>
Co-authored-by: Pierre Krieger <[email protected]>
Co-authored-by: Bastian Köcher <[email protected]>
  • Loading branch information
13 people authored Sep 11, 2020
1 parent 81c0265 commit 33e778e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,17 +261,17 @@ decl_event! {
{
/// Ethereum events from contracts.
Log(Log),
/// A contract has been created at given [address].
/// A contract has been created at given \[address\].
Created(H160),
/// A [contract] was attempted to be created, but the execution failed.
/// A \[contract\] was attempted to be created, but the execution failed.
CreatedFailed(H160),
/// A [contract] has been executed successfully with states applied.
/// A \[contract\] has been executed successfully with states applied.
Executed(H160),
/// A [contract] has been executed with errors. States are reverted with only gas fees applied.
/// A \[contract\] has been executed with errors. States are reverted with only gas fees applied.
ExecutedFailed(H160),
/// A deposit has been made at a given address. [sender, address, value]
/// A deposit has been made at a given address. \[sender, address, value\]
BalanceDeposit(AccountId, H160, U256),
/// A withdrawal has been made from a given address. [sender, address, value]
/// A withdrawal has been made from a given address. \[sender, address, value\]
BalanceWithdraw(AccountId, H160, U256),
}
}
Expand Down

0 comments on commit 33e778e

Please sign in to comment.