-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/upgrade cosmos sdk 0.47.4 (#379)
* feat: create code to decode event-attribute for each version cosmos sdk * fix: use old version aurajs * fix: add registry to job reassign (not used) * fix: refactor code decodeAttribute and encodeAttribute in aura registry * fix: fix test when decode attribute * fix: update aurajs to support cosmos sdk 0.47.4 * feat: upgrade cosmjs and aurajs; fix test crawl proposal with Long attribute * feat: update image aurad to test; update unit test with new aurad * feat: update dockerfile aurad in test.yml when run ci test * feat: add constant for v1 gov proposal and consensus module * feat: decode messages in tx submit proposal; add job redecode gov.v1.MsgSubmitProposal * feat: add constant for v1 gov proposal and consensus module * feat: decode messages in tx submit proposal; add job redecode gov.v1.MsgSubmitProposal * feat: create job redecode tx by api * feat: use gov.v1 instead gov.v1beta1 when crawl proposal info * fix: fix type old proposal v1beta1 * feat: add handle vote for gov.v1.MsgVote * feat: update tally in ended proposal * feat: update version aurajs to decode feegrant * fix: fix lint in crawl proposal * fix: add through error when crawl proposal fail * feat: use aurajs from npm; update CI to remove NPM_TOKEN * fix: allow null voting_start_time, voting_end_time in gov.v1 proposal * fix: change npm to yarn in dockerfile
- Loading branch information
1 parent
7c6da47
commit e1d4158
Showing
30 changed files
with
4,377 additions
and
3,976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
migrations/20231115070514_drop_not_null_in_voting_time_proposal.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Knex } from 'knex'; | ||
|
||
export async function up(knex: Knex): Promise<void> { | ||
await knex.schema.alterTable('proposal', (table) => { | ||
table.timestamp('voting_start_time').nullable().alter(); | ||
table.timestamp('voting_end_time').nullable().alter(); | ||
}); | ||
} | ||
|
||
export async function down(knex: Knex): Promise<void> { | ||
await knex.schema.alterTable('proposal', (table) => { | ||
table.timestamp('voting_start_time').notNullable().alter(); | ||
table.timestamp('voting_end_time').notNullable().alter(); | ||
}); | ||
} |
Oops, something went wrong.