File tree Expand file tree Collapse file tree 2 files changed +193
-260
lines changed
ProjectPlugins/CodexContractsPlugin Expand file tree Collapse file tree 2 files changed +193
-260
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,10 @@ private string FetchMarketplaceAbi()
56
56
var abi = artifact [ "abi" ] ;
57
57
var byteCode = artifact [ "bytecode" ] ;
58
58
var abiResult = abi ! . ToString ( Formatting . None ) ;
59
- var byteCodeResult = byteCode ! . ToString ( Formatting . None ) ;
59
+ var byteCodeResult = byteCode ! . ToString ( Formatting . None ) . ToLowerInvariant ( ) . Replace ( "\" " , "" ) ;
60
+ var expectedByteCode = MarketplaceDeploymentBase . BYTECODE . ToLowerInvariant ( ) ;
60
61
61
- if ( byteCodeResult
62
- . ToLowerInvariant ( )
63
- . Replace ( "\" " , "" ) != MarketplaceDeploymentBase . BYTECODE . ToLowerInvariant ( ) )
62
+ if ( byteCodeResult != expectedByteCode )
64
63
{
65
64
//throw new Exception("BYTECODE in CodexContractsPlugin does not match BYTECODE deployed by container. Update Marketplace.cs generated code?");
66
65
You can’t perform that action at this time.
0 commit comments