Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: chain manager cron (only sdk changed?) #64

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ incremental = false
overflow-checks = true

[workspace.dependencies]
neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", branch = "main" }
neutron-sdk = { package = "neutron-sdk", git = "https://github.com/neutron-org/neutron-sdk", branch = "feat/chain-manager-cron-stargate" }
prost = "0.12.4"
prost-types = "0.12.4"
cosmos-sdk-proto = { version = "0.20.0", default-features = false }
Expand Down
79 changes: 0 additions & 79 deletions contracts/reflect/schema/execute_msg.json
Original file line number Diff line number Diff line change
Expand Up @@ -1286,25 +1286,6 @@
}
]
},
"MsgExecuteContract": {
"description": "MsgExecuteContract defines a call to the contract execution",
"type": "object",
"required": [
"contract",
"msg"
],
"properties": {
"contract": {
"description": "*contract** is a contract address that will be called",
"type": "string"
},
"msg": {
"description": "*msg** is a contract call message",
"type": "string"
}
},
"additionalProperties": false
},
"MultiHopRoute": {
"type": "object",
"required": [
Expand Down Expand Up @@ -1861,66 +1842,6 @@
},
"additionalProperties": false
},
{
"description": "AddSchedule adds new schedule with a given `name`. Until schedule is removed it will execute all `msgs` every `period` blocks. First execution is at least on `current_block + period` block. [Permissioned - DAO Only]",
"type": "object",
"required": [
"add_schedule"
],
"properties": {
"add_schedule": {
"type": "object",
"required": [
"msgs",
"name",
"period"
],
"properties": {
"msgs": {
"description": "list of cosmwasm messages to be executed",
"type": "array",
"items": {
"$ref": "#/definitions/MsgExecuteContract"
}
},
"name": {
"description": "Name of a new schedule. Needed to be able to `RemoveSchedule` and to log information about it",
"type": "string"
},
"period": {
"description": "period in blocks with which `msgs` will be executed",
"type": "integer",
"format": "uint64",
"minimum": 0.0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "RemoveSchedule removes the schedule with a given `name`. [Permissioned - DAO or Security DAO only]",
"type": "object",
"required": [
"remove_schedule"
],
"properties": {
"remove_schedule": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
{
"description": "Contractmanager message Resubmits failed acknowledgement. Acknowledgement failure is created when contract returns error or acknowledgement is out of gas. [Permissioned - only from contract that is initial caller of IBC transaction]",
"type": "object",
Expand Down
Loading