2
0
mirror of synced 2025-01-23 23:08:52 +00:00

Successful automatic update

This commit is contained in:
benbierens 2024-08-30 11:17:36 +02:00
parent 8dcf9ff15e
commit bf5bd8d726
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
2 changed files with 193 additions and 260 deletions

View File

@ -56,11 +56,10 @@ namespace CodexContractsPlugin
var abi = artifact["abi"];
var byteCode = artifact["bytecode"];
var abiResult = abi!.ToString(Formatting.None);
var byteCodeResult = byteCode!.ToString(Formatting.None);
var byteCodeResult = byteCode!.ToString(Formatting.None).ToLowerInvariant().Replace("\"", "");
var expectedByteCode = MarketplaceDeploymentBase.BYTECODE.ToLowerInvariant();
if (byteCodeResult
.ToLowerInvariant()
.Replace("\"", "") != MarketplaceDeploymentBase.BYTECODE.ToLowerInvariant())
if (byteCodeResult != expectedByteCode)
{
//throw new Exception("BYTECODE in CodexContractsPlugin does not match BYTECODE deployed by container. Update Marketplace.cs generated code?");

File diff suppressed because one or more lines are too long