From efe4c6444862b6908c8ed667d8562fd580e0bf63 Mon Sep 17 00:00:00 2001 From: Carter Carlson Date: Mon, 17 Jun 2024 07:27:19 -0700 Subject: [PATCH] chore: mv `{scripts/"" => DeployFraxOFTProtocol}/[DeployFraxOFTProtocol.s.sol, txs]` (#5) --- scripts/{ => DeployFraxOFTProtocol}/DeployFraxOFTProtocol.s.sol | 2 +- scripts/{ => DeployFraxOFTProtocol}/txs/34443-1.json | 0 scripts/{ => DeployFraxOFTProtocol}/txs/34443-1088.json | 0 scripts/{ => DeployFraxOFTProtocol}/txs/34443-81457.json | 0 scripts/{ => DeployFraxOFTProtocol}/txs/34443-8453.json | 0 scripts/SafeBatchSerialize.sol | 2 +- 6 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{ => DeployFraxOFTProtocol}/DeployFraxOFTProtocol.s.sol (99%) rename scripts/{ => DeployFraxOFTProtocol}/txs/34443-1.json (100%) rename scripts/{ => DeployFraxOFTProtocol}/txs/34443-1088.json (100%) rename scripts/{ => DeployFraxOFTProtocol}/txs/34443-81457.json (100%) rename scripts/{ => DeployFraxOFTProtocol}/txs/34443-8453.json (100%) diff --git a/scripts/DeployFraxOFTProtocol.s.sol b/scripts/DeployFraxOFTProtocol/DeployFraxOFTProtocol.s.sol similarity index 99% rename from scripts/DeployFraxOFTProtocol.s.sol rename to scripts/DeployFraxOFTProtocol/DeployFraxOFTProtocol.s.sol index 96c2d47..68de38e 100644 --- a/scripts/DeployFraxOFTProtocol.s.sol +++ b/scripts/DeployFraxOFTProtocol/DeployFraxOFTProtocol.s.sol @@ -113,7 +113,7 @@ contract DeployFraxOFTProtocol is Script { // create filename and save string memory root = vm.projectRoot(); - root = string.concat(root, "/scripts/txs/"); + root = string.concat(root, "/scripts/DeployFraxOFTProtocol/txs/"); string memory filename = string.concat(proxyConfig.chainid.toString(), "-"); filename = string.concat(filename, _config.chainid.toString()); filename = string.concat(filename, ".json"); diff --git a/scripts/txs/34443-1.json b/scripts/DeployFraxOFTProtocol/txs/34443-1.json similarity index 100% rename from scripts/txs/34443-1.json rename to scripts/DeployFraxOFTProtocol/txs/34443-1.json diff --git a/scripts/txs/34443-1088.json b/scripts/DeployFraxOFTProtocol/txs/34443-1088.json similarity index 100% rename from scripts/txs/34443-1088.json rename to scripts/DeployFraxOFTProtocol/txs/34443-1088.json diff --git a/scripts/txs/34443-81457.json b/scripts/DeployFraxOFTProtocol/txs/34443-81457.json similarity index 100% rename from scripts/txs/34443-81457.json rename to scripts/DeployFraxOFTProtocol/txs/34443-81457.json diff --git a/scripts/txs/34443-8453.json b/scripts/DeployFraxOFTProtocol/txs/34443-8453.json similarity index 100% rename from scripts/txs/34443-8453.json rename to scripts/DeployFraxOFTProtocol/txs/34443-8453.json diff --git a/scripts/SafeBatchSerialize.sol b/scripts/SafeBatchSerialize.sol index cdd9dbb..da8802e 100644 --- a/scripts/SafeBatchSerialize.sol +++ b/scripts/SafeBatchSerialize.sol @@ -37,7 +37,7 @@ contract SafeTxUtil is Script { "value", Strings.toString(txs[i].value) ); - vm.serializeInt(transaction, "operation", 0); + vm.serializeString(transaction, "operation", "0"); string memory serializedTx = vm.serializeBytes( transaction, "data",