wtx .open_table(STATISTIC_TO_COUNT) .unwrap() .insert(&Statistic::Schema.key(), &u64::MAX) .unwrap(); wtx.commit().unwrap(); context.tempdir }; let path = tempdir.path().to_owned(); let delimiter = if cfg!(windows) { '\\' } else { '/' }; assert_eq!( Context::builder().tempdir(tempdir).try_build().err().unwrap().to_string(), format!("index at `{}{delimiter}regtest{delimiter}index.redb` appears to have been built with a newer, incompatible version of ord, consider updating ord: index schema {}, ord schema {SCHEMA_VERSION}", path.display(), u64::MAX)); } #[test] fn inscriptions_on_output() { for context in Context::configurations() { context.mine_blocks(1); let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, inscription("text/plain", "hello").to_witness())], ..Default::default() }); let inscription_id = InscriptionId { txid, index: 0 }; assert_eq!(