Skip to content

Commit

Permalink
fix: missing payload param
Browse files Browse the repository at this point in the history
  • Loading branch information
dvilelaf committed May 30, 2024
1 parent a0ec8a6 commit 03b5d47
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions packages/packages.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"dev": {
"skill/valory/learning_abci/0.1.0": "bafybeig5mgcdi3qdyt3ljaf4c6xurcvoc5w642zbojz2m33dcvuw56iise",
"skill/valory/learning_chained_abci/0.1.0": "bafybeihoefvvdyiagqdclojyguvxxgqsvgdiqwaynpvkr4ftdtfduce6yq",
"agent/valory/learning_agent/0.1.0": "bafybeidmvo2hfjxtuahxnmnopuphpyxanyn33mkhhaxavcauhthibgwzp4",
"service/valory/learning_service/0.1.0": "bafybeiemxpflw66nnxra62ytbsutj6rz4bvjcaegmcux347v6nmxefpwiq"
"skill/valory/learning_abci/0.1.0": "bafybeibi6v6vaou6u5j7kooafizrimhmwvh3n75nqrbakpe52fyxjskm34",
"skill/valory/learning_chained_abci/0.1.0": "bafybeiaz7cn2eticnlxes2znoqejlaheyfac56htjkm5eimv2abd4xpjha",
"agent/valory/learning_agent/0.1.0": "bafybeico5mpeulwq355lf7xsvnjnwbokpkw4qyh3ha3d52v2ouv47oeuye",
"service/valory/learning_service/0.1.0": "bafybeifjdwtaobz4whccymuqq5mdpdbi4vp4jov3xh3dlp7uaj5nfhya74"
},
"third_party": {
"protocol/open_aea/signing/1.0.0": "bafybeihv62fim3wl2bayavfcg3u5e5cxu3b7brtu4cn5xoxd6lqwachasi",
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/agents/learning_agent/aea-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ protocols:
skills:
- valory/abstract_abci:0.1.0:bafybeihat4giyc4bz6zopvahcj4iw53356pbtwfn7p4d5yflwly2qhahum
- valory/abstract_round_abci:0.1.0:bafybeih3enhagoql7kzpeyzzu2scpkif6y3ubakpralfnwxcvxexdyvy5i
- valory/learning_abci:0.1.0:bafybeig5mgcdi3qdyt3ljaf4c6xurcvoc5w642zbojz2m33dcvuw56iise
- valory/learning_chained_abci:0.1.0:bafybeihoefvvdyiagqdclojyguvxxgqsvgdiqwaynpvkr4ftdtfduce6yq
- valory/learning_abci:0.1.0:bafybeibi6v6vaou6u5j7kooafizrimhmwvh3n75nqrbakpe52fyxjskm34
- valory/learning_chained_abci:0.1.0:bafybeiaz7cn2eticnlxes2znoqejlaheyfac56htjkm5eimv2abd4xpjha
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/services/learning_service/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
fingerprint:
README.md: bafybeid42pdrf6qrohedylj4ijrss236ai6geqgf3he44huowiuf7pl464
fingerprint_ignore_patterns: []
agent: valory/learning_agent:0.1.0:bafybeidmvo2hfjxtuahxnmnopuphpyxanyn33mkhhaxavcauhthibgwzp4
agent: valory/learning_agent:0.1.0:bafybeico5mpeulwq355lf7xsvnjnwbokpkw4qyh3ha3d52v2ouv47oeuye
number_of_agents: 4
deployment:
agent:
Expand Down
4 changes: 3 additions & 1 deletion packages/valory/skills/learning_abci/behaviours.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,9 @@ def async_act(self) -> Generator:
with self.context.benchmark_tool.measure(self.behaviour_id).local():
sender = self.context.agent_address
tx_hash = yield from self.get_tx_hash()
payload = TxPreparationPayload(sender=sender, tx_hash=tx_hash)
payload = TxPreparationPayload(
sender=sender, tx_submitter=self.auto_behaviour_id(), tx_hash=tx_hash
)

with self.context.benchmark_tool.measure(self.behaviour_id).consensus():
yield from self.send_a2a_transaction(payload)
Expand Down
2 changes: 1 addition & 1 deletion packages/valory/skills/learning_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license: Apache-2.0
aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeiho3lkochqpmes4f235chq26oggmwnol3vjuvhosleoubbjirbwaq
behaviours.py: bafybeifycatas4627hu5fsa7kre6nlhlkywulkdf3zqvpwzqa2tws4bnvq
behaviours.py: bafybeic36u3qcbzfnxgsohwv5cvnfjr4b2kgfvu43czxoh2shsykqb2cqm
dialogues.py: bafybeifqjbumctlffx2xvpga2kcenezhe47qhksvgmaylyp5ypwqgfar5u
fsm_specification.yaml: bafybeicxvornc7gpvpotob6z46fl7qmataxydn22fr22qnb4ausfg6vppe
handlers.py: bafybeigjadr4thz6hfpfx5abezbwnqhbxmachf4efasrn4z2vqhsqgnyvi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
TxSettlementAbci.FinishedTransactionSubmissionRound: ResetAndPauseAbci.ResetAndPauseRound,
TxSettlementAbci.FailedRound: TxSettlementAbci.RandomnessTransactionSubmissionRound,
ResetAndPauseAbci.FinishedResetAndPauseRound: LearningAbci.APICheckRound,
ResetAndPauseAbci.FinishedResetAndPauseErrorRound: ResetAndPauseAbci.ResetAndPauseRound,
ResetAndPauseAbci.FinishedResetAndPauseErrorRound: RegistrationAbci.RegistrationRound,
}

termination_config = BackgroundAppConfig(
Expand Down
4 changes: 2 additions & 2 deletions packages/valory/skills/learning_chained_abci/skill.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ aea_version: '>=1.0.0, <2.0.0'
fingerprint:
__init__.py: bafybeihu5y5llhaefw32jodf2nc2x5tig7cfo2fallbodv6vodczunpbve
behaviours.py: bafybeiagipms5gfebqysx5sl4dhydppceqv4aga64ibqgygqczbh4imyxu
composition.py: bafybeib5fsdxueapcuygpfs23omf7o3rx6ghzkzhjvc7x6gvfe2juteipi
composition.py: bafybeif4oiwvj6bzhmch6jvi4vbw3wglvirwyi7hriuddudrrw5uyglrcq
dialogues.py: bafybeiakqfqcpg7yrxt4bsyernhy5p77tci4qhmgqqjqi3ttx7zk6sklca
fsm_specification.yaml: bafybeidbyj5gvzc3ezwrqyzlwc4njvczrbtrrldkr4h7zwlgy2unbsfxlu
handlers.py: bafybeicru4lanvektcppxpecul4zwjfuaxseopxtsxrfzmbfaz5qk4m67q
Expand All @@ -22,7 +22,7 @@ skills:
- valory/registration_abci:0.1.0:bafybeiek7zcsxbucjwzgqfftafhfrocvc7q4yxllh2q44jeemsjxg3rcfm
- valory/reset_pause_abci:0.1.0:bafybeidw4mbx3os3hmv7ley7b3g3gja7ydpitr7mxbjpwzxin2mzyt5yam
- valory/termination_abci:0.1.0:bafybeihq6qtbwt6i53ayqym63vhjexkcppy26gguzhhjqywfmiuqghvv44
- valory/learning_abci:0.1.0:bafybeig5mgcdi3qdyt3ljaf4c6xurcvoc5w642zbojz2m33dcvuw56iise
- valory/learning_abci:0.1.0:bafybeibi6v6vaou6u5j7kooafizrimhmwvh3n75nqrbakpe52fyxjskm34
- valory/transaction_settlement_abci:0.1.0:bafybeigtzlk4uakmd54rxnznorcrstsr52kta474lgrnvx5ovr546vj7sq
behaviours:
main:
Expand Down

0 comments on commit 03b5d47

Please sign in to comment.