osmosis-labs / osmosis-rust

Rust libraries for osmosis
Apache License 2.0
59 stars 52 forks source link

Add CI to automate update of `osmosis-main-clone` branch #39

Closed ValarDragon closed 1 year ago

ValarDragon commented 2 years ago

We need to make a cron Action job to automate commits to the osmosis-main-clone branch, to update the git submodule code + generate the changes,

Steps:

iboss-ptk commented 2 years ago

@ValarDragon please note this commit I manually patch one struct that depends on tendermint proto. To really fix this problem we need to generate tendermint structs ourselves, but currently the code gen is not as complete as I would like it to be. Planning to fix it along side with #12 .

Also I think cargo build -p osmosis-std should be a step in CI to check if the generated code compiles.

on the side note. cargo run -- --update-deps run submodule update as well.

Let me know if you get stuck.

iboss-ptk commented 2 years ago

I Will add auto patch for HistoricalInfo for now so this brach auto generated code compiles

iboss-ptk commented 2 years ago

The patch is available now with this commit !

iboss-ptk commented 1 year ago

same as #14