Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop to beta #1589

Merged
merged 26 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
f3e9273
Add mainnet ABIs publication
DimaStebaev Aug 23, 2023
f9cb2eb
Merge branch 'develop' into skale-contracts
DimaStebaev Sep 4, 2023
90c84de
Set version
DimaStebaev Sep 4, 2023
397405f
Set deposit boxes addresses to ContractManager during deployment
DimaStebaev Sep 4, 2023
f0323cb
Set deposit boxes addresses to ContractManager during upgrade
DimaStebaev Sep 4, 2023
ef120b7
Update ganache arguments
DimaStebaev Sep 4, 2023
0ce764b
Upgrade ganache
DimaStebaev Sep 5, 2023
7ec547f
Merge branch 'develop' into skale-contracts
DimaStebaev Sep 5, 2023
6d514fb
Change host name
DimaStebaev Sep 5, 2023
93db0e9
Run ganache in deamon mode
DimaStebaev Sep 5, 2023
03d1a2b
Remove workaround
DimaStebaev Sep 5, 2023
71a3e03
Remove unused import
DimaStebaev Sep 5, 2023
0dd66f1
Run ganache in deamon mode
DimaStebaev Sep 5, 2023
42bb290
Remove unused dependencies
DimaStebaev Sep 5, 2023
f75936e
Add double quote
DimaStebaev Sep 5, 2023
c3fe447
Merge branch 'develop' into skale-contracts
payvint Sep 7, 2023
941f405
Merge branch 'develop' into skale-contracts
DimaStebaev Sep 8, 2023
c66a854
ticket-1584 Fixed own S-chain discovery delays
sergiy-skalelabs Sep 12, 2023
b914ef5
Merge pull request #1575 from skalenetwork/skale-contracts
DimaStebaev Sep 12, 2023
30c447d
ticket-1584 Fixed SNB parallel discovery delays for connected S-chains
sergiy-skalelabs Sep 12, 2023
1cc632e
Merge branch 'develop' into ticket-1584/network-re-discovery-issues
sergiy-skalelabs Sep 12, 2023
7293aae
ticket-1584 own S-chain discovery nodes counting fix
sergiy-skalelabs Sep 12, 2023
862c5eb
ticket-1584 own S-chain discovery nodes periodic continuation fix
sergiy-skalelabs Sep 13, 2023
0d09858
Merge pull request #1586 from skalenetwork/ticket-1584/network-re-dis…
sergiy-skalelabs Sep 13, 2023
42ecb84
Revert "Prepare infrastructure for skale-contracts"
DimaStebaev Sep 13, 2023
fd32410
Merge pull request #1588 from skalenetwork/revert-1575-skale-contracts
DmytroNazarenko Sep 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions agent/bls.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function discoverPublicKeyByIndex( nNodeIndex, joSChainNetworkInfo, details, isT
const imaState = state.get();
joSChainNetworkInfo = joSChainNetworkInfo || imaState.joSChainNetworkInfo;
const jarrNodes = joSChainNetworkInfo.network;
const cntNodes = jarrNodes.length;
const joNode = jarrNodes[nNodeIndex];
if( joNode && "imaInfo" in joNode && typeof joNode.imaInfo === "object" &&
"BLSPublicKey0" in joNode.imaInfo &&
Expand All @@ -159,10 +160,12 @@ function discoverPublicKeyByIndex( nNodeIndex, joSChainNetworkInfo, details, isT
};
}
details.write( cc.fatal( "CRITICAL ERROR:" ) +
cc.error( " BLS 1/16 public key discovery failed for node #" ) + cc.info( nNodeIndex ) +
cc.error( ", node data is: " ) + cc.j( joNode ) + "\n" );
if( isThrowException )
throw new Error( "BLS 1/16 public key discovery failed for node #" + nNodeIndex );
cc.error( " BLS 1/" + cntNodes + " public key discovery failed for node #" ) +
cc.info( nNodeIndex ) + cc.error( ", node data is: " ) + cc.j( joNode ) + "\n" );
if( isThrowException ) {
throw new Error(
"BLS 1/" + cntNodes + " public key discovery failed for node #" + nNodeIndex );
}
return null;
}

Expand Down
Loading