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

[db migration] fix store address format in parser #1726

Open
walker-16 opened this issue Sep 26, 2024 · 1 comment
Open

[db migration] fix store address format in parser #1726

walker-16 opened this issue Sep 26, 2024 · 1 comment
Assignees

Comments

@walker-16
Copy link
Collaborator

No description provided.

@walker-16
Copy link
Collaborator Author

fix address format in rows in wh_attestation_vaa_properties.

example:

wormhole=# select * from wormholescan.wh_attestation_vaa_properties where id = '2a76545aa2a5ecefcdf6f6158be533bd380f8add3354d356b06ec2f52c3714c6'; -[ RECORD 1 ]-------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ id | 2a76545aa2a5ecefcdf6f6158be533bd380f8add3354d356b06ec2f52c3714c6 vaa_id | 1/ec7372995d5cc8732397fb0ad35c0121e0eaa90d26f828a534cab54391b3a4f5/920066 app_id | {PORTAL_TOKEN_BRIDGE} payload | {"amount":"225193690000","fee":"0","payloadType":1,"toAddress":"0xbcf329def72678ddf0529bcc898419f06e67593b5cc8466715f0ff00f197887b","toChain":22,"tokenAddress":"0xd64be880bc9b995c0028588e916e21e7e796ae5cf32cac551edeaf95f2f9fdbd","tokenChain":22} raw_standard_fields | {"appIds":["PORTAL_TOKEN_BRIDGE"],"fromChain":1,"fromAddress":"","toChain":22,"toAddress":"0xbcf329def72678ddf0529bcc898419f06e67593b5cc8466715f0ff00f197887b","tokenChain":22,"tokenAddress":"0xd64be880bc9b995c0028588e916e21e7e796ae5cf32cac551edeaf95f2f9fdbd","amount":"225193690000","feeAddress":"0xd64be880bc9b995c0028588e916e21e7e796ae5cf32cac551edeaf95f2f9fdbd","feeChain":22,"fee":"0"} from_chain_id | 1 from_address | to_chain_id | 22 to_address | 0xbcf329def72678ddf0529bcc898419f06e67593b5cc8466715f0ff00f197887b token_chain_id | 22 token_address | 0xd64be880bc9b995c0028588e916e21e7e796ae5cf32cac551edeaf95f2f9fdbd amount | 225193690000 fee_chain_id | 22 fee_address | 0xd64be880bc9b995c0028588e916e21e7e796ae5cf32cac551edeaf95f2f9fdbd fee | 0 timestamp | 2024-08-01 15:10:05+00 created_at | 2024-08-08 19:44:49.881474+00 updated_at | 2024-08-08 19:44:49.881474+00

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

When branches are created from issues, their pull requests are automatically linked.

3 participants