From 019a9bc46385b2557aebbdff112a4735680877b0 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 09:36:48 +0200 Subject: [PATCH 1/7] fix coverage --- README.md | 2 ++ codecov.yml | 11 ----------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2f05b31f18..fe5954749c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Snowbridge +Contracts Coverage: [![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) + ![GitHub](https://img.shields.io/github/license/Snowfork/snowbridge) Snowbridge is a trustless bridge between Polkadot and Ethereum. For documentation, visit https://docs.snowbridge.network. diff --git a/codecov.yml b/codecov.yml index 4159ca255e..aa9bfb581b 100644 --- a/codecov.yml +++ b/codecov.yml @@ -9,20 +9,9 @@ ignore: - "contracts/src/utils" - "contracts/src/ScaleCodec.sol" - "contracts/src/SubstrateTypes.sol" - - "polkadot-sdk/bridges/snowbridge/pallets/ethereum-beacon-client/src/benchmarking" - - "polkadot-sdk/bridges/snowbridge/pallets/ethereum-beacon-client/src/weights.rs" - - "polkadot-sdk/bridges/snowbridge/pallets/inbound-queue/fixtures" - - "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fixtures" - - "polkadot-sdk/bridges/snowbridge/pallets/ethereum-client/fuzz" - "contracts/src/DeployScript.sol" - - "parachain/pallets/inbound-queue/fixtures" - - "parachain/pallets/ethereum-client/fixtures" flags: solidity: paths: - contracts carryforward: true - rust: - paths: - - polkadot-sdk/bridges/snowbridge - carryforward: true From 55a1579ad6d93a508a9e5bf3c8cbe3f3de6a5925 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 09:41:05 +0200 Subject: [PATCH 2/7] fix readme and touch contracts --- .github/workflows/contracts.yml | 6 +++--- README.md | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index a243cd8739..54844fb291 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -8,9 +8,9 @@ on: branches: - main pull_request: - paths: - - "contracts/**" - - "!contracts/**/README.md" + # paths: + # - "contracts/**" + # - "!contracts/**/README.md" jobs: build: diff --git a/README.md b/README.md index fe5954749c..83712040dd 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,10 @@ # Snowbridge -Contracts Coverage: -[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) - +*[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) ![GitHub](https://img.shields.io/github/license/Snowfork/snowbridge) +* Coverage for Solidity contracts only. Parachain coverage can be viewed at +* [snowfork/polkadot-sdk](https://github.com/Snowfork/polkadot-sdk/tree/snowbridge/bridges/snowbridge). + Snowbridge is a trustless bridge between Polkadot and Ethereum. For documentation, visit https://docs.snowbridge.network. ## Components From 30a7dc680d196db280c6af7bf0e82b8c16a67b88 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 10:02:47 +0200 Subject: [PATCH 3/7] escape asterix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 83712040dd..effe2e343f 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ *[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) ![GitHub](https://img.shields.io/github/license/Snowfork/snowbridge) -* Coverage for Solidity contracts only. Parachain coverage can be viewed at -* [snowfork/polkadot-sdk](https://github.com/Snowfork/polkadot-sdk/tree/snowbridge/bridges/snowbridge). +'\*' Coverage for Solidity contracts only. Parachain coverage can be viewed at +[snowfork/polkadot-sdk](https://github.com/Snowfork/polkadot-sdk/tree/snowbridge/bridges/snowbridge). Snowbridge is a trustless bridge between Polkadot and Ethereum. For documentation, visit https://docs.snowbridge.network. From 114b8d6c39f1cb1d4d18594333e088d7d0683a5e Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 10:03:13 +0200 Subject: [PATCH 4/7] remove quotes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index effe2e343f..e2e9056a2b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ *[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) ![GitHub](https://img.shields.io/github/license/Snowfork/snowbridge) -'\*' Coverage for Solidity contracts only. Parachain coverage can be viewed at +\* Coverage for Solidity contracts only. Parachain coverage can be viewed at [snowfork/polkadot-sdk](https://github.com/Snowfork/polkadot-sdk/tree/snowbridge/bridges/snowbridge). Snowbridge is a trustless bridge between Polkadot and Ethereum. For documentation, visit https://docs.snowbridge.network. From 9fd716f432a77fe99e53295a13db9b6e67f9c991 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 10:03:31 +0200 Subject: [PATCH 5/7] remove space --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e2e9056a2b..35a284cd4b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ *[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) ![GitHub](https://img.shields.io/github/license/Snowfork/snowbridge) -\* Coverage for Solidity contracts only. Parachain coverage can be viewed at +\*Coverage for Solidity contracts only. Parachain coverage can be viewed at [snowfork/polkadot-sdk](https://github.com/Snowfork/polkadot-sdk/tree/snowbridge/bridges/snowbridge). Snowbridge is a trustless bridge between Polkadot and Ethereum. For documentation, visit https://docs.snowbridge.network. From 3c30b2469d918d56407dafed25836ff5f7893232 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 10:11:40 +0200 Subject: [PATCH 6/7] undo test run bump --- .github/workflows/contracts.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/contracts.yml b/.github/workflows/contracts.yml index 54844fb291..a243cd8739 100644 --- a/.github/workflows/contracts.yml +++ b/.github/workflows/contracts.yml @@ -8,9 +8,9 @@ on: branches: - main pull_request: - # paths: - # - "contracts/**" - # - "!contracts/**/README.md" + paths: + - "contracts/**" + - "!contracts/**/README.md" jobs: build: From d7901f98edf792e8d9c8f4ac2fc7cfc6c4ba69e4 Mon Sep 17 00:00:00 2001 From: claravanstaden Date: Tue, 20 Feb 2024 19:48:09 +0200 Subject: [PATCH 7/7] removed note --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 35a284cd4b..2f05b31f18 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ # Snowbridge -*[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) +[![codecov](https://codecov.io/gh/Snowfork/snowbridge/branch/main/graph/badge.svg?token=9hvgSws4rN)](https://codecov.io/gh/Snowfork/snowbridge) ![GitHub](https://img.shields.io/github/license/Snowfork/snowbridge) -\*Coverage for Solidity contracts only. Parachain coverage can be viewed at -[snowfork/polkadot-sdk](https://github.com/Snowfork/polkadot-sdk/tree/snowbridge/bridges/snowbridge). - Snowbridge is a trustless bridge between Polkadot and Ethereum. For documentation, visit https://docs.snowbridge.network. ## Components