Skip to content

Commit 1fdae7a

Browse files
authored
Fix link to code coverage (#386)
* Fix link to code coverage * add -sdk everywhere.
1 parent e5d403a commit 1fdae7a

File tree

16 files changed

+28
-28
lines changed

16 files changed

+28
-28
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
exit 1
3333
fi
3434
35-
# TODO: Temporary before migration to RiscZero 0.15: https://github.com/Sovereign-Labs/sovereign/issues/338
35+
# TODO: Temporary before migration to RiscZero 0.15: https://github.com/Sovereign-Labs/sovereign-sdk/issues/338
3636
# After that demo-prover should be integrated into workspace
3737
check-demo-prover:
3838
runs-on: ubuntu-latest

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
![](./assets/banner.jpg)
22

33
<div align="center">
4-
<a href="https://github.com/Sovereign-Labs/sovereign/blob/main/LICENSE">
4+
<a href="https://github.com/Sovereign-Labs/sovereign-sdk/blob/main/LICENSE">
55
<img alt="License: Apache-2.0" src="https://img.shields.io/github/license/Sovereign-Labs/sovereign-sdk.svg" />
66
</a>
7-
<a href="https://codecov.io/gh/Sovereign-Labs/sovereign" >
7+
<a href="https://codecov.io/gh/Sovereign-Labs/sovereign-sdk" >
88
<img alt="Coverage" src="https://codecov.io/gh/Sovereign-Labs/sovereign-sdk/branch/main/graph/badge.svg"/>
99
</a>
1010
<a href="https://discord.gg/kbykCcPrcA" >

adapters/celestia/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ circumstances.
1515

1616
## How it Works
1717

18-
All of Jupiter boils down to two trait implementations: [`DaVerifier`](https://github.com/Sovereign-Labs/sovereign/blob/8388dc2176940bc6a909076e5ed43feb5a87bf7a/sdk/src/state_machine/da.rs#L36) and [`DaService`](https://github.com/Sovereign-Labs/sovereign/blob/8388dc2176940bc6a909076e5ed43feb5a87bf7a/sdk/src/node/services/da.rs#L13).
18+
All of Jupiter boils down to two trait implementations: [`DaVerifier`](https://github.com/Sovereign-Labs/sovereign-sdk/blob/8388dc2176940bc6a909076e5ed43feb5a87bf7a/sdk/src/state_machine/da.rs#L36) and [`DaService`](https://github.com/Sovereign-Labs/sovereign-sdk/blob/8388dc2176940bc6a909076e5ed43feb5a87bf7a/sdk/src/node/services/da.rs#L13).
1919

2020
### The DaVerifier Trait
2121

adapters/risc0/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ serde = { workspace = true }
2020
anyhow = { workspace = true }
2121

2222
# TODO: Consider replacing this serialization format
23-
# https://github.com/Sovereign-Labs/sovereign/issues/283
23+
# https://github.com/Sovereign-Labs/sovereign-sdk/issues/283
2424
bincode = "1.3.3"
2525

2626

examples/demo-nft-module/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Here are defining basic dependencies in `Cargo.toml` that module needs to get st
4141
```toml
4242
[dependencies]
4343
anyhow = { anyhow = "1.0.62" }
44-
sov-modules-api = { git = "https://github.com/Sovereign-Labs/sovereign.git", branch = "main", default-features = false }
45-
sov-modules-macros = { git = "https://github.com/Sovereign-Labs/sovereign.git", branch = "main" }
44+
sov-modules-api = { git = "https://github.com/Sovereign-Labs/sovereign-sdk.git", branch = "main", default-features = false }
45+
sov-modules-macros = { git = "https://github.com/Sovereign-Labs/sovereign-sdk.git", branch = "main" }
4646
```
4747

4848
### Establishing the Root Module Structure
@@ -121,9 +121,9 @@ Before we start implementing the `Module` trait, there are several preparatory s
121121
serde = { version = "1", features = ["derive"] }
122122
serde_json = "1"
123123

124-
sov-modules-api = { git = "https://github.com/Sovereign-Labs/sovereign.git", branch = "main", default-features = false }
125-
sov-modules-macros = { git = "https://github.com/Sovereign-Labs/sovereign.git", branch = "main" }
126-
sov-state = { git = "https://github.com/Sovereign-Labs/sovereign.git", branch = "main", default-features = false }
124+
sov-modules-api = { git = "https://github.com/Sovereign-Labs/sovereign-sdk.git", branch = "main", default-features = false }
125+
sov-modules-macros = { git = "https://github.com/Sovereign-Labs/sovereign-sdk.git", branch = "main" }
126+
sov-state = { git = "https://github.com/Sovereign-Labs/sovereign-sdk.git", branch = "main", default-features = false }
127127

128128
[features]
129129
default = ["native"]
@@ -371,7 +371,7 @@ Temporary storage is needed for testing, so we enable the `temp` feature of `sov
371371

372372
```toml
373373
[dev-dependencies]
374-
sov-state = { git = "https://github.com/Sovereign-Labs/sovereign.git", branch = "main", features = ["temp"] }
374+
sov-state = { git = "https://github.com/Sovereign-Labs/sovereign-sdk.git", branch = "main", features = ["temp"] }
375375
```
376376

377377
Here is some boilerplate for NFT module integration tests:

examples/demo-stf/src/runtime.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub struct Runtime<C: Context> {
5656
}
5757

5858
// TODO add macro to generate the following code:
59-
// https://github.com/Sovereign-Labs/sovereign/issues/309
59+
// https://github.com/Sovereign-Labs/sovereign-sdk/issues/309
6060
impl<C: Context> Runtime<C> {
6161
pub(crate) fn new() -> Self {
6262
use sov_modules_api::ModuleInfo;

examples/demo-stf/src/tests/data_generation/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub fn simulate_da_with_bad_sig(election_admin: DefaultPrivateKey) -> Vec<RawTx>
3636
}
3737

3838
// TODO: Remove once we fix test with bad nonce
39-
// https://github.com/Sovereign-Labs/sovereign/issues/235
39+
// https://github.com/Sovereign-Labs/sovereign-sdk/issues/235
4040
#[allow(unused)]
4141
pub fn simulate_da_with_bad_nonce(election_admin: DefaultPrivateKey) -> Vec<RawTx> {
4242
let election = election_data::BadNonceElectionCallMessages::new(election_admin);

full-node/db/sov-db/src/ledger_db/rpc.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl LedgerRpcProvider for LedgerDB {
3838
slot_ids.len(),
3939
MAX_SLOTS_PER_REQUEST
4040
);
41-
// TODO: https://github.com/Sovereign-Labs/sovereign/issues/191 Sort the input
41+
// TODO: https://github.com/Sovereign-Labs/sovereign-sdk/issues/191 Sort the input
4242
// and use an iterator instead of querying for each slot individually
4343
let mut out = Vec::with_capacity(slot_ids.len());
4444
for slot_id in slot_ids {
@@ -68,7 +68,7 @@ impl LedgerRpcProvider for LedgerDB {
6868
batch_ids.len(),
6969
MAX_BATCHES_PER_REQUEST
7070
);
71-
// TODO: https://github.com/Sovereign-Labs/sovereign/issues/191 Sort the input
71+
// TODO: https://github.com/Sovereign-Labs/sovereign-sdk/issues/191 Sort the input
7272
// and use an iterator instead of querying for each slot individually
7373
let mut out = Vec::with_capacity(batch_ids.len());
7474
for batch_id in batch_ids {
@@ -98,7 +98,7 @@ impl LedgerRpcProvider for LedgerDB {
9898
tx_ids.len(),
9999
MAX_TRANSACTIONS_PER_REQUEST
100100
);
101-
// TODO: https://github.com/Sovereign-Labs/sovereign/issues/191 Sort the input
101+
// TODO: https://github.com/Sovereign-Labs/sovereign-sdk/issues/191 Sort the input
102102
// and use an iterator instead of querying for each slot individually
103103
let mut out: Vec<Option<TxResponse<T>>> = Vec::with_capacity(tx_ids.len());
104104
for id in tx_ids {
@@ -128,7 +128,7 @@ impl LedgerRpcProvider for LedgerDB {
128128
MAX_EVENTS_PER_REQUEST
129129
);
130130
// TODO: Sort the input and use an iterator instead of querying for each slot individually
131-
// https://github.com/Sovereign-Labs/sovereign/issues/191
131+
// https://github.com/Sovereign-Labs/sovereign-sdk/issues/191
132132
let mut out = Vec::with_capacity(event_ids.len());
133133
for id in event_ids {
134134
let num = self.resolve_event_identifier(id)?;

module-system/module-implementations/examples/sov-election/src/call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ impl<C: sov_modules_api::Context> Election<C> {
135135

136136
/// Clears the election.
137137
pub(crate) fn clear(&self) -> Result<CallResponse> {
138-
// see https://github.com/Sovereign-Labs/sovereign/issues/62
138+
// TODO: https://github.com/Sovereign-Labs/sovereign-sdk/issues/62
139139
todo!()
140140
}
141141

module-system/module-implementations/examples/sov-election/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ pub struct Election<C: sov_modules_api::Context> {
3333
// There are two issues here:
3434
// 1. We use `std::Vec` inside `StateValue` this might be inefficient because
3535
// on every get, we are fetching the whole vector. We will add `StateVec` type in the future,
36-
// see: https://github.com/Sovereign-Labs/sovereign/issues/33
36+
// see: https://github.com/Sovereign-Labs/sovereign-sdk/issues/33
3737
//
3838
// 2. It would be better to use `StateMap`, but it doesn't support iteration,
39-
// see: https://github.com/Sovereign-Labs/sovereign/issues/61
39+
// see: https://github.com/Sovereign-Labs/sovereign-sdk/issues/61
4040
#[state]
4141
pub(crate) candidates: sov_state::StateValue<Vec<Candidate>>,
4242

0 commit comments

Comments
 (0)