Skip to content

Latest commit

 

History

History

testdata

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Stub test contract

This folder contains bogus test contract which just exposes public api from example contract from babylon bindings repo - https://github.com/babylonchain/bindings/tree/main/contracts/example

This approach enables us to specify which branch from bindings library we want to test/use.

Until custom babylon api is stable this approach enables faster iteration than publishing wasm blobs from bindings library directly.

Artifacts

We are storing current version of artifacts in repo to speed up the CI. In principle we could use rust-optimizer in each run to build contract from sources but it would take longer time. Downside of this approach is than with each update of Cargo.toml or lib.rs file wasm blobs should be regenerated by running make build-test-wasm command