File tree Expand file tree Collapse file tree 6 files changed +25
-4
lines changed
guides/architecture/babylon_genesis_modules
operators/babylon_validators Expand file tree Collapse file tree 6 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 11---
22id : guides
33title : Guides
4- slug : /
54---
65
76# Welcome to the Guides Section
87
98This is the main page for all guides.
109
10+ import React from ' react' ;
1111import DocCardList from ' @theme/DocCardList' ;
1212
1313<DocCardList />
Original file line number Diff line number Diff line change @@ -100,6 +100,7 @@ function create_doc_plugin({
100100}
101101
102102const tailwindPlugin = require ( './plugins/tailwind-plugin.cjs' ) ;
103+ const webpackReactProvider = require ( './plugins/webpack-react-provider.cjs' ) ;
103104const docs_plugins = docs . map ( ( doc ) => create_doc_plugin ( doc ) ) ;
104105const plugins = [
105106 [
@@ -114,6 +115,7 @@ const plugins = [
114115 } ,
115116 ] ,
116117 tailwindPlugin ,
118+ webpackReactProvider ,
117119 ...docs_plugins ,
118120 ...openapiPlugins
119121] ;
Original file line number Diff line number Diff line change 1+ const webpack = require ( 'webpack' ) ;
2+
3+ module . exports = function ( context , options ) {
4+ return {
5+ name : 'webpack-react-provider' ,
6+ configureWebpack ( config , isServer ) {
7+ return {
8+ plugins : [
9+ new webpack . ProvidePlugin ( {
10+ React : require . resolve ( 'react' ) ,
11+ } ) ,
12+ ] ,
13+ } ;
14+ } ,
15+ } ;
16+ } ;
17+
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
12import MDXComponents from '@theme-original/MDXComponents' ;
23
34import Tabs from '@theme/Tabs' ;
@@ -10,6 +11,7 @@ import * as icons from '../icons';
1011
1112export default {
1213 ...MDXComponents ,
14+ React,
1315 ...icons ,
1416 Tabs,
1517 TabItem,
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ <h2>Concepts</h2>
8787< p > Once a valid checkpoint is generated,
8888it is checkpointed into the Bitcoin ledger through
8989an off-chain program
90- < a href ="https://docs.babylonlabs.io/docs/developer- guides/modules/ submitter "> Vigilante Submitter</ a > .
90+ < a href ="https://docs.babylonlabs.io/guides/architecture/vigilantes/ submitter/ "> Vigilante Submitter</ a > .
9191It is responsible for constructing Bitcoin transactions that
9292contain outputs utilizing the
9393< a href ="https://en.bitcoin.it/wiki/OP_RETURN "> < code > OP_RETURN</ code > </ a > script code
@@ -194,7 +194,7 @@ <h2>Messages</h2>
194194The message handler is defined at
195195< a href ="./keeper/msg_server.go "> x/checkpointing/keeper/msg_server.go</ a > .</ p >
196196< h3 > MsgWrappedCreateValidator</ h3 >
197- < p > The < code > MsgWrappedCreateValidator</ code > message wraps the < a href ="https://github.com/cosmos/cosmos-sdk/blob/9814f684b9dd7e384064ca86876688c05e685e54 /proto/cosmos/staking/v1beta1/tx.proto#L51 "> < code > MsgCreateValidator</ code > </ a >
197+ < p > The < code > MsgWrappedCreateValidator</ code > message wraps the < a href ="https://github.com/cosmos/cosmos-sdk/blob/main /proto/cosmos/staking/v1beta1/tx.proto#L52 "> < code > MsgCreateValidator</ code > </ a >
198198defined in the staking module of the Cosmos SDK
199199in order to also include the BLS public key.
200200The message is used for registering a new validator and storing its BLS public
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ <h2>Network-Specific Parameters</h2>
100100babylond query btccheckpoint params
101101</ code > </ pre >
102102< p > For RPC and LCD endpoints for different networks, refer to
103- the < a href ="https://github.com/babylonlabs-io/networks/tree/main/bbn-test-5 "> Babylon Networks Repository</ a > .</ p >
103+ the < a href ="https://github.com/babylonlabs-io/networks/tree/main/bbn-test-6 "> Babylon Networks Repository</ a > .</ p >
104104< h2 > Relayer Configuration</ h2 >
105105< p > When setting up a relayer for Babylon, pay special attention to these
106106parameters. The following values are specific to Babylon mainnet:</ p >
You can’t perform that action at this time.
0 commit comments