+
Skip to content

Conversation

eranrund
Copy link
Contributor

Motivation

A change introduced in #1592 results in clients not re-attesting. This happens because the code in https://github.com/mobilecoinfoundation/mobilecoin/blob/eran/async-reattest-bugfix/connection/src/traits.rs#L53 now only runs of if the async call (e.g. client_tx_propose_async_opt) fails to queue a request. If it succeeds, then the actual result returned from the server would only get checked in https://github.com/mobilecoinfoundation/mobilecoin/blob/eran/async-reattest-bugfix/connection/src/thick.rs#L211 and currently that does not handle re-attestation.

Future Work

Unit tests...

@jcape jcape added this to the 1.2.0 Release milestone May 23, 2022
@cbeck88
Copy link
Contributor

cbeck88 commented May 23, 2022

#2029 was opened earlier to try to add unit tests for this

Copy link
Contributor

@cbeck88 cbeck88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eranrund eranrund merged commit 93716b3 into master May 24, 2022
@eranrund eranrund deleted the eran/async-reattest-bugfix branch May 24, 2022 00:13
eranrund added a commit that referenced this pull request May 24, 2022
* fix a regression that prevented clients from re-attesting

* rename method
jcape pushed a commit that referenced this pull request May 24, 2022
)

* fix a regression that prevented clients from re-attesting

* rename method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载