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

Test prod gift card #15

Closed
rndquu opened this issue Oct 18, 2024 · 9 comments
Closed

Test prod gift card #15

rndquu opened this issue Oct 18, 2024 · 9 comments

Comments

@rndquu
Copy link
Member

rndquu commented Oct 18, 2024

Test prod gift card

@rndquu rndquu added bug Something isn't working Priority: 1 (Normal) Time: <15 Minutes and removed bug Something isn't working labels Oct 18, 2024
@rndquu rndquu self-assigned this Oct 18, 2024
Copy link

ubiquity-os bot commented Oct 18, 2024

@rndquu the deadline is at Fri, Oct 18, 6:44 AM UTC

@rndquu rndquu closed this as completed Oct 18, 2024
Copy link

ubiquity-os bot commented Oct 18, 2024

 [ 6.96 WXDAI ] 

@rndquu
Contributions Overview
ViewContributionCountReward
IssueTask16
IssueSpecification10.96
Conversation Incentives
CommentFormattingRelevanceReward
Test prod gift card
0.32
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 4
  wordValue: 0.1
  result: 0.32
10.96

@0x4007
Copy link
Member

0x4007 commented Oct 20, 2024

How did the test go?

@rndquu
Copy link
Member Author

rndquu commented Oct 21, 2024

How did the test go?

I've setup production reloadly credentials for pay.ubq.fi and sandbox reloadly credentials for all of the cloudflare previews.

  • sandbox (cloudflare preview URLs): card minting works fine.
  • production (pay.ubq.fi): I haven't been able to mint because of Claims Broken pay.ubq.fi#323

A little bit more context on ubiquity/pay.ubq.fi#323: this buggy permit's owner is https://etherscan.io/address/0x9051eDa96dB419c967189F4Ac303a290F3327680 but the original signer is https://etherscan.io/address/0x51afbf762cdedc2683afecc2ccdd93da6a071ff8. Not sure how's that possible, working right now on the https://github.com/ubiquity-os-marketplace/text-conversation-rewards plugin.

@0x4007
Copy link
Member

0x4007 commented Oct 21, 2024

Not sure how's that possible

The only thing I can think of is a very long time ago, during a manual database migration, I misaligned a row or two, shifting everybody's wallet information. @whilefoo had the wrong wallet associated for like a year until they manually fixed it the other week. Not sure if thats related.

@rndquu
Copy link
Member Author

rndquu commented Oct 21, 2024

Not sure how's that possible

The only thing I can think of is a very long time ago, during a manual database migration, I misaligned a row or two, shifting everybody's wallet information. @whilefoo had the wrong wallet associated for like a year until they manually fixed it the other week. Not sure if thats related.

Wallet misalignment in the DB could not cause the owner != signer permit signature mismatch

@rndquu rndquu reopened this Oct 21, 2024
@rndquu rndquu closed this as completed Oct 21, 2024
@whilefoo
Copy link

A little bit more context on ubiquity/pay.ubq.fi#323: this buggy permit's owner is https://etherscan.io/address/0x9051eDa96dB419c967189F4Ac303a290F3327680 but the original signer is https://etherscan.io/address/0x51afbf762cdedc2683afecc2ccdd93da6a071ff8.

So this is only happening in production? Since you said it's working in sandbox I don't think this is an issue with the permit?

@rndquu
Copy link
Member Author

rndquu commented Oct 21, 2024

A little bit more context on ubiquity/pay.ubq.fi#323: this buggy permit's owner is https://etherscan.io/address/0x9051eDa96dB419c967189F4Ac303a290F3327680 but the original signer is https://etherscan.io/address/0x51afbf762cdedc2683afecc2ccdd93da6a071ff8.

So this is only happening in production? Since you said it's working in sandbox I don't think this is an issue with the permit?

By "working in sandbox" I meant that virtual card minting works in pay.ubq.fi running with reloadly sandbox credentials and using permit generated by pay.ubq.fi for testing purposes. TLDR; It turned out that there's a bug in production in permit signature.

@rndquu rndquu reopened this Oct 22, 2024
@rndquu rndquu closed this as completed Oct 22, 2024
Copy link

ubiquity-os bot commented Oct 22, 2024

 [ 31.3065 WXDAI ] 

@rndquu
Contributions Overview
ViewContributionCountReward
IssueTask16
IssueSpecification10.96
IssueComment324.3465
Conversation Incentives
CommentFormattingRelevanceReward
Test prod gift card
0.32
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 4
  wordValue: 0.1
  result: 0.32
10.96
I've setup production reloadly credentials for `pay.ubq.fi&#…
12.05
content:
  content:
    p:
      score: 0
      elementCount: 4
    ul:
      score: 1
      elementCount: 1
    li:
      score: 0.5
      elementCount: 2
    a:
      score: 5
      elementCount: 1
  result: 7
regex:
  wordCount: 101
  wordValue: 0.1
  result: 5.05
0.911.545
Wallet misalignment in the DB could not cause the `owner != …
0.83
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 12
  wordValue: 0.1
  result: 0.83
0.80.664
By "working in sandbox" I meant that virtual card minting works …
12.25
content:
  content:
    p:
      score: 0
      elementCount: 1
    a:
      score: 5
      elementCount: 2
  result: 10
regex:
  wordCount: 39
  wordValue: 0.1
  result: 2.25
0.9512.1375

 [ 2.243 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueComment22.243
Conversation Incentives
CommentFormattingRelevanceReward
How did the test go?
0.39
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 5
  wordValue: 0.1
  result: 0.39
0.60.234
The only thing I can think of is a very long time ago, during a …
2.87
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 52
  wordValue: 0.1
  result: 2.87
0.72.009

 [ 0.36025 WXDAI ] 

@whilefoo
Contributions Overview
ViewContributionCountReward
IssueComment10.36025
Conversation Incentives
CommentFormattingRelevanceReward
So this is only happening in production? Since you said it's wor…
1.59
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 26
  wordValue: 0.1
  result: 1.59
0.90.36025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants