partial working serialisation

This commit is contained in:
Some Random Crypto Guy
2024-12-15 22:28:14 +00:00
parent 1334bac45a
commit 2ce22c2508
18 changed files with 303 additions and 208 deletions
+3 -2
View File
@@ -608,10 +608,11 @@ TEST(Serialization, serializes_ringct_types)
//compute rct data with mixin 3
const rct::RCTConfig rct_config{ rct::RangeProofPaddedBulletproof, 2 };
cryptonote::transaction_type tx_type = cryptonote::transaction_type::TRANSFER;
std::string in_asset_type = "FULM";
std::string in_asset_type = "SAL";
std::vector<std::string> destination_asset_types;
for (size_t i = 0; i < destinations.size(); ++i)
destination_asset_types.push_back("FULM");
destination_asset_types.push_back("SAL");
s0 = rct::genRctSimple(rct::zero(), sc, pc, destinations, tx_type, in_asset_type, destination_asset_types, inamounts, amounts, amount_keys, 0, 3, rct_config, hw::get_device("default"));
ASSERT_FALSE(s0.p.MGs.empty());