clarinet icon indicating copy to clipboard operation
clarinet copied to clipboard

Automatically remap boot addresses

Open obycode opened this issue 2 years ago • 2 comments

When deploying to devnet, it would be helpful if clarinet could automatically remap the boot addresses, so that developers wouldn't have to manually modify the contract for the testnet vs. mainnet principal.

SP000000000000000000002Q6VF78 -> ST000000000000000000002AMW42H

obycode avatar Mar 19 '23 21:03 obycode

Will look into this!

lgalabru avatar Mar 22 '23 15:03 lgalabru

With tests for pox, there is confusion about cycle length. If queried ST000, then it is 1050. If queried SP00, then it is 2100.

My contract using SP000 thinks the cycle is 2100, but my tests using ST00 think the length is 1050. How to deal with that best?

friedger avatar May 31 '23 08:05 friedger