Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and atodorov committed Nov 21, 2023
1 parent 8f5fee1 commit 73b42d1
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitleaksignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
0c13ff41d5bad0a54a558cf2ccdc7359f06b2db3:examples/contract-erc20/README.md:generic-api-key:59
d103b6518efc18d8fcef9dd0bb211036fbec9543:chainspecs/devnetSpec.json:generic-api-key:118
5dfa118f316d60da78482a41af34255e860b0adc:chainspecs/devnetSpec.json:generic-api-key:125
2e9e9a56276c19481a86d1565760b4aec5a62eee:chainspecs/devnetSpec.json:generic-api-key:118
2e9e9a56276c19481a86d1565760b4aec5a62eee:chainspecs/devnetSpec.json:generic-api-key:118
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To execute the chain, run:
./target/release/creditcoin3-node --dev
```

The node also supports to use manual seal (to produce block manually through RPC).
The node also supports to use manual seal (to produce block manually through RPC).
This is also used by the ts-tests:

```bash
Expand All @@ -43,8 +43,8 @@ $ ./target/release/creditcoin3-node --dev --sealing=instant

### Docker Based Development

Optionally, You can build and run the frontier node within Docker directly.
The Dockerfile is optimized for development speed.
Optionally, You can build and run the frontier node within Docker directly.
The Dockerfile is optimized for development speed.
(Running the `docker run...` command will recompile the binaries but not the dependencies)

Building (takes 5-10 min):
Expand Down
2 changes: 1 addition & 1 deletion chainspecs/devnetSpec.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion chainspecs/devnetSpecRaw.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@
"childrenDefault": {}
}
}
}
}
2 changes: 1 addition & 1 deletion cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ The types can be generated by running the following command:

```shell
yarn build:types
```
```
4 changes: 2 additions & 2 deletions pallets/bridge/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ scale-info = { version = "2.1.1", default-features = false, features = ["derive"
sp-runtime = { workspace = true }
sp-std = { workspace = true }
sp-core = { workspace = true }
sp-io = {workspace = true}
sp-io = {workspace = true}
pallet-balances = { workspace = true}


Expand All @@ -25,4 +25,4 @@ std = [
"codec/std",
"scale-info/std",
"pallet-balances/std",
]
]
6 changes: 3 additions & 3 deletions pallets/bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ mod tests {
let burn_id = BurnId::Creditcoin2(1);
let collector = <Test as frame_system::Config>::AccountId::default();

let prior_balance = Balances::free_balance(collector);
let prior_balance = Balances::free_balance(collector);
assert_ok!(Bridge::collect_funds(RuntimeOrigin::signed(1), burn_id.clone()));

assert_ok!(
Expand All @@ -420,7 +420,7 @@ mod tests {

let ending_balance = Balances::free_balance(collector);
assert!(ending_balance > prior_balance);
})
})
}

#[test]
Expand All @@ -438,6 +438,6 @@ mod tests {
Bridge::approve_collection(RuntimeOrigin::signed(1), burn_id, collector, 0),
expected_error,
);
})
})
}
}

0 comments on commit 73b42d1

Please sign in to comment.