Skip to content

Commit

Permalink
try87-3
Browse files Browse the repository at this point in the history
  • Loading branch information
lla-dane committed Apr 15, 2024
1 parent fc2c61d commit 82b4f31
Show file tree
Hide file tree
Showing 2,525 changed files with 69,892 additions and 46,131 deletions.
15 changes: 0 additions & 15 deletions src/block_mine/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,6 @@ pub fn valid_block_header() -> Result<()> {

let mut block_file = File::create("./output.txt")?;

let mut weight_t = 0;
let mut fees_t = 0;

for txid_tx in txids.clone() {
for (txid, _, _, weight, fees) in map.clone() {
if txid == txid_tx {
weight_t += weight;
fees_t += fees;
}
}
}

println!("{}", txids.len());

writeln!(block_file, "{}", valid_block_header)?;
Expand All @@ -155,9 +143,6 @@ pub fn valid_block_header() -> Result<()> {
writeln!(block_file, "{}", txid)?;
}

println!("weight: {}", weight_t);
println!("fees: {}", fees_t);

Ok(())
}

Expand Down
52 changes: 26 additions & 26 deletions src/validation_checks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,31 +585,31 @@ pub fn verify_tx(tx: Transaction) -> Result<bool> {
}
}
}
if tx_type == _p2sh {
if tx.vin[0].witness != None {
if tx.vin[0].witness.clone().unwrap().len() > 2 {
return Ok(false);
}
}

for input_index in 0..tx.vin.len() {
match input_verification_p2sh(input_index, tx.clone()) {
Ok(false) => {
// println!("TRASNACTION: INVALID");
return Ok(false);
}

Ok(true) => {
v_result = true;
}

Err(_) => {
// println!("TRASNACTION: INVALID");
return Ok(false);
}
}
}
}
// if tx_type == _p2sh {
// if tx.vin[0].witness != None {
// if tx.vin[0].witness.clone().unwrap().len() > 2 {
// return Ok(false);
// }
// }

// for input_index in 0..tx.vin.len() {
// match input_verification_p2sh(input_index, tx.clone()) {
// Ok(false) => {
// // println!("TRASNACTION: INVALID");
// return Ok(false);
// }

// Ok(true) => {
// v_result = true;
// }

// Err(_) => {
// // println!("TRASNACTION: INVALID");
// return Ok(false);
// }
// }
// }
// }
if tx_type == _p2wpkh {
for input_index in 0..tx.vin.len() {
match input_verification_p2wpkh(input_index, tx.clone()) {
Expand Down Expand Up @@ -685,7 +685,7 @@ fn gas_fees_check(tx: &Transaction) -> bool {
r_sats += tx.vout[output_index].value;
}

if s_sats - r_sats < 2000 {
if s_sats - r_sats < 1500 {
return false;
} else {
return true;
Expand Down
2 changes: 1 addition & 1 deletion target/.rustc_info.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"rustc_fingerprint":5426084349829402623,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/dane/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.77.2 (25ef9e3d8 2024-04-09)\nbinary: rustc\ncommit-hash: 25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\ncommit-date: 2024-04-09\nhost: x86_64-unknown-linux-gnu\nrelease: 1.77.2\nLLVM version: 17.0.6\n","stderr":""}},"successes":{}}
{"rustc_fingerprint":5426084349829402623,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.77.2 (25ef9e3d8 2024-04-09)\nbinary: rustc\ncommit-hash: 25ef9e3d85d934b27d9dada2f9dd52b1dc63bb04\ncommit-date: 2024-04-09\nhost: x86_64-unknown-linux-gnu\nrelease: 1.77.2\nLLVM version: 17.0.6\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/home/dane/.rustup/toolchains/stable-x86_64-unknown-linux-gnu\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{"$message_type":"diagnostic","message":"unused imports: `fs::File`, `io::Write`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"src/block_mine/merkle_root.rs","byte_start":10,"byte_end":18,"line_start":1,"line_end":1,"column_start":11,"column_end":19,"is_primary":true,"text":[{"text":"use std::{fs::File, io::Write};","highlight_start":11,"highlight_end":19}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null},{"file_name":"src/block_mine/merkle_root.rs","byte_start":20,"byte_end":29,"line_start":1,"line_end":1,"column_start":21,"column_end":30,"is_primary":true,"text":[{"text":"use std::{fs::File, io::Write};","highlight_start":21,"highlight_end":30}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_imports)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"remove the whole `use` item","code":null,"level":"help","spans":[{"file_name":"src/block_mine/merkle_root.rs","byte_start":0,"byte_end":31,"line_start":1,"line_end":1,"column_start":1,"column_end":32,"is_primary":true,"text":[{"text":"use std::{fs::File, io::Write};","highlight_start":1,"highlight_end":32}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused imports: `fs::File`, `io::Write`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/block_mine/merkle_root.rs:1:11\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m1\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0muse std::{fs::File, io::Write};\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_imports)]` on by default\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unused import: `cmp::Reverse`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"src/block_mine/serialise_tx.rs","byte_start":10,"byte_end":22,"line_start":1,"line_end":1,"column_start":11,"column_end":23,"is_primary":true,"text":[{"text":"use std::{cmp::Reverse, fs};","highlight_start":11,"highlight_end":23}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the unused import","code":null,"level":"help","spans":[{"file_name":"src/block_mine/serialise_tx.rs","byte_start":10,"byte_end":24,"line_start":1,"line_end":1,"column_start":11,"column_end":25,"is_primary":true,"text":[{"text":"use std::{cmp::Reverse, fs};","highlight_start":11,"highlight_end":25}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused import: `cmp::Reverse`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/block_mine/serialise_tx.rs:1:11\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m1\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0muse std::{cmp::Reverse, fs};\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unused import: `p2sh::input_verification_p2sh`","code":{"code":"unused_imports","explanation":null},"level":"warning","spans":[{"file_name":"src/validation_checks/mod.rs","byte_start":317,"byte_end":346,"line_start":15,"line_end":15,"column_start":38,"column_end":67,"is_primary":true,"text":[{"text":" p2pkh::input_verification_p2pkh, p2sh::input_verification_p2sh,","highlight_start":38,"highlight_end":67}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"remove the unused import","code":null,"level":"help","spans":[{"file_name":"src/validation_checks/mod.rs","byte_start":315,"byte_end":346,"line_start":15,"line_end":15,"column_start":36,"column_end":67,"is_primary":true,"text":[{"text":" p2pkh::input_verification_p2pkh, p2sh::input_verification_p2sh,","highlight_start":36,"highlight_end":67}],"label":null,"suggested_replacement":"","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused import: `p2sh::input_verification_p2sh`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/validation_checks/mod.rs:15:38\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m15\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m p2pkh::input_verification_p2pkh, p2sh::input_verification_p2sh,\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"unused variable: `coinbase_txid`","code":{"code":"unused_variables","explanation":null},"level":"warning","spans":[{"file_name":"src/block_mine/block.rs","byte_start":2043,"byte_end":2056,"line_start":68,"line_end":68,"column_start":36,"column_end":49,"is_primary":true,"text":[{"text":" let (merkel_root, coinbase_tx, coinbase_txid, txids) = generate_roots(map.clone())?;","highlight_start":36,"highlight_end":49}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(unused_variables)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null},{"message":"if this is intentional, prefix it with an underscore","code":null,"level":"help","spans":[{"file_name":"src/block_mine/block.rs","byte_start":2043,"byte_end":2056,"line_start":68,"line_end":68,"column_start":36,"column_end":49,"is_primary":true,"text":[{"text":" let (merkel_root, coinbase_tx, coinbase_txid, txids) = generate_roots(map.clone())?;","highlight_start":36,"highlight_end":49}],"label":null,"suggested_replacement":"_coinbase_txid","suggestion_applicability":"MachineApplicable","expansion":null}],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: unused variable: `coinbase_txid`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/block_mine/block.rs:68:36\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m68\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let (merkel_root, coinbase_tx, coinbase_txid, txids) = generate_roots(map.clone())?;\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33mhelp: if this is intentional, prefix it with an underscore: `_coinbase_txid`\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_variables)]` on by default\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"variable `x` is assigned to, but never used","code":{"code":"unused_variables","explanation":null},"level":"warning","spans":[{"file_name":"src/validation_checks/mod.rs","byte_start":4329,"byte_end":4330,"line_start":143,"line_end":143,"column_start":13,"column_end":14,"is_primary":true,"text":[{"text":" let mut x: String = String::new();","highlight_start":13,"highlight_end":14}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"consider using `_x` instead","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: variable `x` is assigned to, but never used\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/validation_checks/mod.rs:143:13\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m143\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m let mut x: String = String::new();\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: consider using `_x` instead\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"value assigned to `x` is never read","code":{"code":"unused_assignments","explanation":null},"level":"warning","spans":[{"file_name":"src/validation_checks/mod.rs","byte_start":4611,"byte_end":4612,"line_start":150,"line_end":150,"column_start":9,"column_end":10,"is_primary":true,"text":[{"text":" x = hex::encode(trimmed_tx.clone());","highlight_start":9,"highlight_end":10}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"maybe it is overwritten before being read?","code":null,"level":"help","spans":[],"children":[],"rendered":null},{"message":"`#[warn(unused_assignments)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: value assigned to `x` is never read\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/validation_checks/mod.rs:150:9\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m150\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0m x = hex::encode(trimmed_tx.clone());\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mhelp\u001b[0m\u001b[0m: maybe it is overwritten before being read?\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(unused_assignments)]` on by default\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"5 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 5 warnings emitted\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"function `input_verification_p2sh` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/validation_checks/p2sh.rs","byte_start":233,"byte_end":256,"line_start":12,"line_end":12,"column_start":8,"column_end":31,"is_primary":true,"text":[{"text":"pub fn input_verification_p2sh(tx_input_index: usize, tx: Transaction) -> Result<bool> {","highlight_start":8,"highlight_end":31}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[{"message":"`#[warn(dead_code)]` on by default","code":null,"level":"note","spans":[],"children":[],"rendered":null}],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: function `input_verification_p2sh` is never used\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/validation_checks/p2sh.rs:12:8\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m12\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mpub fn input_verification_p2sh(tx_input_index: usize, tx: Transaction) -> Result<bool> {\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m= \u001b[0m\u001b[0m\u001b[1mnote\u001b[0m\u001b[0m: `#[warn(dead_code)]` on by default\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"function `script_execution_p2sh` is never used","code":{"code":"dead_code","explanation":null},"level":"warning","spans":[{"file_name":"src/validation_checks/p2sh.rs","byte_start":1184,"byte_end":1205,"line_start":46,"line_end":46,"column_start":4,"column_end":25,"is_primary":true,"text":[{"text":"fn script_execution_p2sh(","highlight_start":4,"highlight_end":25}],"label":null,"suggested_replacement":null,"suggestion_applicability":null,"expansion":null}],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: function `script_execution_p2sh` is never used\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m--> \u001b[0m\u001b[0msrc/validation_checks/p2sh.rs:46:4\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\n\u001b[0m\u001b[1m\u001b[38;5;12m46\u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m|\u001b[0m\u001b[0m \u001b[0m\u001b[0mfn script_execution_p2sh(\u001b[0m\n\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[38;5;12m| \u001b[0m\u001b[0m \u001b[0m\u001b[0m\u001b[1m\u001b[33m^^^^^^^^^^^^^^^^^^^^^\u001b[0m\n\n"}
{"$message_type":"diagnostic","message":"8 warnings emitted","code":null,"level":"warning","spans":[],"children":[],"rendered":"\u001b[0m\u001b[1m\u001b[33mwarning\u001b[0m\u001b[0m\u001b[1m: 8 warnings emitted\u001b[0m\n\n"}
Loading

0 comments on commit 82b4f31

Please sign in to comment.