Add native function declarations for all relevant Test contract functions#2926
Add native function declarations for all relevant Test contract functions#2926m-Peter wants to merge 2 commits intoonflow:feature/stable-cadencefrom
Test contract functions#2926Conversation
9ebf7d6 to
e2a302c
Compare
|
Oh, right, I forgot to close #2823 🤦 |
|
Not sure why this got closed. This should now be opened against the master (#2971) |
|
@SupunS Because the |
|
Yeah, usually it should get automatically rebased. But thank you for reopening 🙏 |
|
There are some conflicts that need to be resolved by hand, that's why it didn't get automatically rebased probably. |
Closes #2822
Description
With the introduction of #2821, we can now declare native functions inside the
Testcontract, and remove the workaround that usedCompositeType.ResolveMembers().To do that, we also had to enable default arguments for native functions, since
Test.assertandTest.failboth have an optionalmessageargument.masterbranchFiles changedin the Github PR explorer