diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3c3134ec21e375c4483a9c2cf8bce5f6065b6b53..7f2fc29bbb7e340cac366e9902cb07b5ddf9dd7c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,9 @@ Please read [Developer documentation] before contribute. 2. Ensure that you respect the [commit naming conventions]. -3. Ensure that all automated tests pass with the `npm test` command. +3. Ensure that all automated tests pass with the `cargo test` command. + +3. Ensure that the code is well formated `cargo fmt` and comply with the good practices `cargo clippy`. If you have been working on tests, check everything with `cargo clippy --all --tests`. 4. Update the documentation with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters. diff --git a/end2end-tests/tests/common/cert.rs b/end2end-tests/tests/common/cert.rs index 7a344e3191c6401676dd74c2532c1a75ec4e9059..021dfa2ea970f5b75bd89d618739255631be74f6 100644 --- a/end2end-tests/tests/common/cert.rs +++ b/end2end-tests/tests/common/cert.rs @@ -33,7 +33,7 @@ pub async fn certify( client, api.tx() .cert() - .add_cert(to.into()) + .add_cert(to) .create_signed(&from, ()) .await?, )