Skip to content

fix: deploy tutorial addresses on both testnet and devnet#177

Open
Keinberger wants to merge 1 commit intomainfrom
kbg/fix/deploy-tutorial-addresses-on-both-networks
Open

fix: deploy tutorial addresses on both testnet and devnet#177
Keinberger wants to merge 1 commit intomainfrom
kbg/fix/deploy-tutorial-addresses-on-both-networks

Conversation

@Keinberger
Copy link
Collaborator

Before a testnet upgrade, we need to test all tutorials against devnet since testnet won't be running the next release version yet. This requires that any hardcoded account addresses referenced by tutorials exist on both networks.

This PR deploys the counter contract with a deterministic seed on both testnet and devnet and updates all eight references (two in code, six in docs) to the new unified address (mtst1az62d8rhnf00kqp80k3klwy56c6w9gvm). The address works on both networks since AccountId::from_bech32 discards the network prefix and the deterministic seed produces the same AccountId regardless of network.

Also fixes a prose/code mismatch in the oracle tutorial where the inline prefix.suffix values didn't match the MASM file, and adds a Pragma dependency comment to oracle_reader.masm.

Closes #175

@Keinberger Keinberger requested a review from mmagician March 16, 2026 11:46
@Keinberger Keinberger force-pushed the kbg/fix/deploy-tutorial-addresses-on-both-networks branch from 1880675 to 1e12ffc Compare March 16, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: deploy tutorial addresses on both testnet and devnet

1 participant