diff --git a/docs/bridges/audits.md b/docs/bridges/audits.md index 7793a2ec..fe6758ea 100644 --- a/docs/bridges/audits.md +++ b/docs/bridges/audits.md @@ -7,6 +7,36 @@ keywords: [omnibridge audit, xdai bridge audit, security audit] The OmniBridge and xDai Bridge have undergone multiple independent security audits and assessments. We have engaged in the auditing process after introducing major functionality, and have acknowledged and/or fixed all issues found during these audits. Audit results are presented starting with the most recent. +## Hashi integration by Omega, g0, Least Authority + +The scope for auditing includes the following repos: + +1. https://github.com/gnosis/hashi except for GiriGiriBashi.sol +2. AMB: https://github.com/crosschain-alliance/tokenbridge-contracts/tree/feat/hashi-integration-amb +3. XDAI: https://github.com/crosschain-alliance/tokenbridge-contracts/tree/feat/hashi-integration-xdai-bridge + +### Omega + +**Completed**: June 27, 2024 +**Conclusion**: 1 high severity issues, 4 low severity issues, 10 info issues. All issues has been resolved or acknowledged. +**Audit Report**:[Omega-Gnosis-Hashi Final Audit Report](../../static/files/Omega-Gnosis-Hashi%20Final%20Report.pdf) + +### g0 + +(intermediate reports, final pending) + +**Completed**: June 28, 2024 +**Conclusion**: 1 critical issue, 3 medium issues, 4 minor issues, 4 note issues. All issues has been resolved or acknowledged. +**Audit Report**:[g0-Gnosis-Hashi Audit Report](../../static/files//g0%20-%20Gnosis%20Hashi%20Audit%20Report.pdf) + +### Least Authority + +(intermediate reports, final pending) + +**Completed**: June 12, 2024 +**Conclusion**: 4 issues, 13 suggestions. All issues has been resolved or acknowledged. +**Audit Report**:[Least Authority-Gnosis-Hashi Audit Report](../../static/files/Least%20Authority-Gnosis%20Hash%20Audit%20Report.pdf) + ## xDAI bridge upgrade Audit by Omega and ChainSafe ### Omega diff --git a/docs/node/manual/validator/run/lighthouse.md b/docs/node/manual/validator/Run Client/lighthouse.md similarity index 100% rename from docs/node/manual/validator/run/lighthouse.md rename to docs/node/manual/validator/Run Client/lighthouse.md diff --git a/docs/node/manual/validator/run/lodestar.md b/docs/node/manual/validator/Run Client/lodestar.md similarity index 100% rename from docs/node/manual/validator/run/lodestar.md rename to docs/node/manual/validator/Run Client/lodestar.md diff --git a/docs/node/manual/validator/run/nimbus.md b/docs/node/manual/validator/Run Client/nimbus.md similarity index 100% rename from docs/node/manual/validator/run/nimbus.md rename to docs/node/manual/validator/Run Client/nimbus.md diff --git a/docs/node/manual/validator/run/teku.md b/docs/node/manual/validator/Run Client/teku.md similarity index 100% rename from docs/node/manual/validator/run/teku.md rename to docs/node/manual/validator/Run Client/teku.md diff --git a/docs/node/manual/validator/deposit.md b/docs/node/manual/validator/deposit.md index 167b3efe..8c120fed 100644 --- a/docs/node/manual/validator/deposit.md +++ b/docs/node/manual/validator/deposit.md @@ -1,5 +1,6 @@ --- title: Validator Deposits +sidebar_position : 2 --- ## Overview diff --git a/docs/node/manual/validator/generate-keys/README.md b/docs/node/manual/validator/generate-keys/README.md index bcb8c1d3..965996ff 100644 --- a/docs/node/manual/validator/generate-keys/README.md +++ b/docs/node/manual/validator/generate-keys/README.md @@ -1,5 +1,7 @@ --- title: Generate Validator Keys +sidebar_position : 1 + --- The purpose of the validator private key is to actively sign on-chain operations such as block proposals and attestations. diff --git a/docusaurus.config.js b/docusaurus.config.js index 34145e84..80d86825 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -105,22 +105,16 @@ const config = { to: "updates", position: "left", label: "Updates", - }, - { - type: "docSidebar", - position: "left", - sidebarId: "shutterizedgc", - label: "Shutterized Gnosis Chain", - }, + }, { type: "docSidebar", - position: "right", + position: "left", sidebarId: "faq", label: "FAQ", }, { href: "https://ecosystem.gnosischain.com/", - position: "right", + position: "left", label: "Ecosystem", }, { diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js index 9be1b8ad..d969d5c4 100644 --- a/src/components/HomepageFeatures/index.js +++ b/src/components/HomepageFeatures/index.js @@ -2,7 +2,7 @@ import React from 'react'; import clsx from 'clsx'; import styles from './styles.module.css'; -const FeatureList = [ +const FeatureList = [ { id: 0, title: 'Build on Gnosis Chain', @@ -13,7 +13,8 @@ const FeatureList = [ { id: 1, title: 'Bridge to Gnosis', - subtitle: 'Use Gnosis Bridges to bridge tokens from different chains and vice versa', + subtitle: + 'Use Gnosis Bridges to bridge tokens from different chains and vice versa', link: '/bridges', Svg: require('@site/static/img/features/bridge.svg').default, }, @@ -26,25 +27,28 @@ const FeatureList = [ }, { id: 3, - title : 'Tools for Builders', - link : '/tools', - subtitle: 'RPC Providers, Faucets, etc. Everything you need to to develop on Gnosis.', + title: 'Tools for Builders', + link: '/tools', + subtitle: + 'RPC Providers, Faucets, etc. Everything you need to to develop on Gnosis.', Svg: require('@site/static/img/features/tools.svg').default, }, { id: 4, - title: 'Technical guide for Developer integrations', - subtitle: 'Learn how to build interactive dApps on Gnosis chain with different developer integration, SDKs and APIs', + title: 'Technical guides', + subtitle: + 'Check out different developer integrations, SDKs on Gnosis Chain', link: '/technicalguides', Svg: require('@site/static/img/features/guide.svg').default, }, { id: 5, - title : 'Contribute to Gnosis developer ecosystem', - subtitle: 'Coming up soon.', - link : '/', - Svg: require('@site/static/img/features/ecosystem.svg').default, - } + title: 'Shutterized Gnosis Chain', + subtitle: + 'Learn about Shutterized Gnosis Chain, RPC details and more.', + link: '/shutterized-gc', + Svg: require('@site/static/img/features/shutter.svg').default, + }, ]; function Feature({Svg, title, subtitle, link}) { diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css index 04f49a7a..415b0e96 100644 --- a/src/components/HomepageFeatures/styles.module.css +++ b/src/components/HomepageFeatures/styles.module.css @@ -32,7 +32,7 @@ } .featureCard { - background: #F0EBDE; + background: rgba(255, 255, 255, 0.10); /* #F0EBDE; */ border-radius: 20px; padding: 1rem 1rem 1rem 1rem; max-width: 350px; @@ -45,6 +45,7 @@ width: 95%; text-align: center; min-width: 300px; + color: #F0EBDE; } @media screen and (max-width: 320px) { @@ -64,11 +65,13 @@ font-size: 1.3rem; font-weight: bold; margin-bottom: 1rem; + color: #F0EBDE; } .featureCard h5 { flex-grow: 1; font-size: 1rem; + color: #F0EBDE; } .featureCard p { @@ -76,23 +79,31 @@ text-decoration: underline; font-size: 1rem; font-weight: bold; + color: #F0EBDE; } .featureImg { height: 140px; + width: 140px; display: flex; flex-direction: column; + justify-content: center; /* Center horizontally */ + align-items: center; + border-radius: 50%; + background-color: #F0EBDE; + padding: 15px; + margin: 5px; } .featureSvg { - height: 140px; - width: 140px; + height: 100%; + width: 100%; } .featureCard h3, .featureCard h5, .featureCard p { - color: #3E6957; + color: #F0EBDE; } /* [data-theme='dark'] .featureCard h3,h5,p { diff --git a/src/pages/index.module.css b/src/pages/index.module.css index 296452c5..07c178f9 100644 --- a/src/pages/index.module.css +++ b/src/pages/index.module.css @@ -31,7 +31,7 @@ .homePage h5, .homePage span { font-family: 'GT Planar', sans-serif; - color: white; + color: #F0EBDE; } .container { diff --git a/src/utils/changeNetwork.js b/src/utils/changeNetwork.js index b603ae45..e4e0690e 100644 --- a/src/utils/changeNetwork.js +++ b/src/utils/changeNetwork.js @@ -1,43 +1,31 @@ import React from 'react'; -import Button from '@site/src/components/Button'; -// JavaScript function for changing or adding the network export async function changeOrAddNetwork() { const chainId = '0x64'; if (window.ethereum) { try { - // Try to switch to the network + const chainParams = { + chainId: chainId, + rpcUrls: ["https://erpc.gnosis.shutter.network"], + chainName: "Shutterized Gnosis Chain", + nativeCurrency: { + name: "XDAI", + symbol: "XDAI", + decimals: 18 + }, + blockExplorerUrls: ["https://www.gnosisscan.io"] + }; + + console.log('Attempting to add network:', chainParams.chainName); // Debugging + await window.ethereum.request({ - method: 'wallet_switchEthereumChain', - params: [{ chainId: chainId }], + method: 'wallet_addEthereumChain', + params: [chainParams], }); - console.log('Switched to the network with chainId:', chainId); - } catch (switchError) { - if (switchError.code === 4902) { - try { - const chainParams = { - chainId: chainId, - rpcUrls: ["https://erpc.gnosis.shutter.network"], - chainName: "Shutterized Gnosis Chain", - nativeCurrency: { - name: "xDai", - symbol: "xDAI", - decimals: 18 - }, - blockExplorerUrls: ["https://www.gnosisscan.com"] - }; - await window.ethereum.request({ - method: 'wallet_addEthereumChain', - params: [chainParams], - }); - console.log('Network added and switched to:', chainParams.chainName); - } catch (addError) { - console.error('Failed to add the network:', addError); - } - } else { - console.error('Failed to switch the network:', switchError); - } + console.log('Network added and switched to:', chainParams.chainName); // Debugging + } catch (addError) { + console.error('Failed to add the network:', addError); } } else { console.error('MetaMask is not installed!'); diff --git a/static/files/Least Authority-Gnosis Hash Audit Report.pdf b/static/files/Least Authority-Gnosis Hash Audit Report.pdf new file mode 100644 index 00000000..17c10aba Binary files /dev/null and b/static/files/Least Authority-Gnosis Hash Audit Report.pdf differ diff --git a/static/files/Omega-Gnosis-Hashi Final Report.pdf b/static/files/Omega-Gnosis-Hashi Final Report.pdf new file mode 100644 index 00000000..41727392 Binary files /dev/null and b/static/files/Omega-Gnosis-Hashi Final Report.pdf differ diff --git a/static/files/g0 - Gnosis Hashi Audit Report.pdf b/static/files/g0 - Gnosis Hashi Audit Report.pdf new file mode 100644 index 00000000..8a8953dc Binary files /dev/null and b/static/files/g0 - Gnosis Hashi Audit Report.pdf differ diff --git a/static/img/features/shutter.svg b/static/img/features/shutter.svg new file mode 100644 index 00000000..47179371 --- /dev/null +++ b/static/img/features/shutter.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file