SHA256
Разделить среды и закрепить лицензии в HEADER 1.0
This commit is contained in:
@@ -11,7 +11,7 @@ const owner=Buffer.from((await crypto.subtle.exportKey('jwk',key)).x,'base64url'
|
||||
const stored=rows.map(r=>({blockHash:r[3],blockBytesB64:b64(packCoreContent(h(r[6]),h(r[8])))}));
|
||||
for (const cutoff of [0,2,7]) test(`M5 FORK at #${cutoff}: new owner, retained TECH tail, deterministic retry`,async()=>{
|
||||
const calls=[];
|
||||
const client=new KeyRotationClient({ws:{async request(op,p){
|
||||
const client=new KeyRotationClient({getServerEnvironment:async()=>({arweaveAppTag:"test5570"}),ws:{ws:{},connectionGeneration:1,async request(op,p){
|
||||
if(op==='GetBlockchainBlock'){assert.equal(p.blockchainName,'Alice-001');return {status:200,payload:stored[p.blockNumber]};}
|
||||
assert.equal(op,'KeyRotationAddBlock');calls.push(p);return {status:200,payload:{}};
|
||||
}}});
|
||||
|
||||
Reference in New Issue
Block a user