Skip to content

0.9.4 Fix a bug with declaring two contracts in one test

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Apr 15:26
· 159 commits to master since this release

We encountered a problem with declaring two contracts next to each other:

#[test]
fn test_two_declares() {
    let class_hash = declare('simple').unwrap();
    let class_hash2 = declare('basic').unwrap();
}

This release fixes it and it will no longer fail!