Skip to content

I cannot get a deployment to work outside of the demo template #1953

Answered by shadaj
ntrp asked this question in Q&A
Discussion options

You must be logged in to vote

Also, do you have these lines in your lib.rs?

stageleft::stageleft_no_entry_crate!();

#[cfg(test)]
mod test_init {
    #[ctor::ctor]
    fn init() {
        hydro_lang::deploy::init_test();
    }
}

They are required to compile Hydro code.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@shadaj
Comment options

Answer selected by ntrp
@ntrp
Comment options

@shadaj
Comment options

@ntrp
Comment options

@ntrp
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants