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

Wrong contract read bytes32[] #1176

Closed
cauta opened this issue Sep 13, 2023 · 6 comments · Fixed by #1216
Closed

Wrong contract read bytes32[] #1176

cauta opened this issue Sep 13, 2023 · 6 comments · Fixed by #1216
Assignees
Labels
bug Something isn't working triage Issues and PRs that are needed triage v1.13.0 Release v1.13.0

Comments

@cauta
Copy link

cauta commented Sep 13, 2023

Description

when i retrieve parition in contract 0x0732d84cF7ed9161eAc09236045dAa8cba2B54C8 with input 0x627306090abaB3A6e1400e9345bC60c78a8BEf57 i expect:
image

but it returned:
image

Link to the page

http://dev1.crypitor.com/address/0x0732d84cF7ed9161eAc09236045dAa8cba2B54C8?tab=read_contract

Steps to reproduce

  1. Go to '23 partitionOf'
  2. Click on 'Query'
  3. See output:
[ partitionsOf method response ]

[

  bytes32[]: 0x307837323635373336353732373636353634303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030,0x307836393733373337353635363430303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030

]
  1. function 25. totalPartitions also error:
(bytes32[]): undefined

expected:


bytes32[]: 0x7265736572766564000000000000000000000000000000000000000000000000,0x6973737565640000000000000000000000000000000000000000000000000000

App version

Backend: v5.2.2-beta.+commit.c9f5eee4 Frontend: v1.10.0+ea5c9d58

Browser

Version 116.0.5845.179 (Official Build) (arm64)

Operating system

macOS

Additional information

No response

@cauta cauta added bug Something isn't working triage Issues and PRs that are needed triage labels Sep 13, 2023
@nikitosing
Copy link
Member

This issue already resolved here blockscout/blockscout#8431

@cauta
Copy link
Author

cauta commented Sep 21, 2023

i upgraded to new version 5.2.3. the function with query button working as expected. but the auto query function return undefined. you can take a look at function totalPartitions i had mentioned above

@cauta
Copy link
Author

cauta commented Sep 25, 2023

@nikitosing please check it again,
i'm still facing error in decoding response with function with auto query

@nikitosing
Copy link
Member

@tom2drum Could you please check. Back returns read function result.
https://dev1.crypitor.com/address/0x0732d84cF7ed9161eAc09236045dAa8cba2B54C8?tab=read_contract
image

@nikitosing nikitosing reopened this Sep 25, 2023
@tom2drum tom2drum self-assigned this Sep 26, 2023
tom2drum added a commit that referenced this issue Sep 26, 2023
@cauta
Copy link
Author

cauta commented Sep 27, 2023

Seem like it's fixed. when will the next version release guys?

@tom2drum
Copy link
Collaborator

next week, most likely

tom2drum added a commit that referenced this issue Sep 29, 2023
@github-actions github-actions bot added pre-release Tasks in pre-release right now v1.13.0 Release v1.13.0 and removed pre-release Tasks in pre-release right now labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issues and PRs that are needed triage v1.13.0 Release v1.13.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants