Skip to content

Commit

Permalink
Merge branch 'euphoria' into serenity
Browse files Browse the repository at this point in the history
  • Loading branch information
kienvc committed Apr 22, 2024
2 parents 8b97c77 + 210c446 commit b9ee2f7
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
- Add EVM module

## [v0.7.2] - 2024-01-18

### Improvements
- Enhance flow of post handle verify tx from smart account module
- Bump wasmd version to v0.42.0 to support long term
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ go.sum: go.mod
@echo "--> Ensure dependencies have not been modified"
GO111MODULE=on go mod verify

test:
test: check-go-version
@go test -mod=readonly $(PACKAGES)

clean:
Expand Down
29 changes: 29 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Security Policy

At Aura Network, we take security seriously and consider it to be our utmost priority.
If you discover any security vulnerabilities on any products maintaining by us, please follow the following procedure to report to the Aura Network team.

## Reporting Security Issues

Please report security vulnerabilities to **[security@aura.network](mailto:security@aura.network)**. Please also avoid any public discussion for security issues.
The Aura Network team will send a response indicating the next steps in handling your report and will keep you informed of the progress.

In addition, please include the following information along with your report if you can:

* Your name and affiliation (if any).
* A description of the technical details of the vulnerabilities.
* An explanation of who can exploit this vulnerability, and what they gain when doing so.
* Whether this vulnerability is public or known to third parties. If it is, please provide details.

## Urgent contact

For any urgent contact, beside sending us email, please don't hesistate to contact our team administrators on Discord at:
- eledra | Aura Network#8201
- Kien#6166

## Comments on this Policy

If you have suggestions on how this process could be improved please submit a pull request or email **[security@aura.network](mailto:security@aura.network)**


Thank you for improving the security of Aura Network. We appreciate your efforts and responsible disclosure and will make every effort to acknowledge your contributions.
5 changes: 5 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ import (
v0_4_1 "github.com/aura-nw/aura/app/upgrades/v0.4.1"
v0_4_2 "github.com/aura-nw/aura/app/upgrades/v0.4.2"
v0_4_4 "github.com/aura-nw/aura/app/upgrades/v0.4.4"
v0_4_5 "github.com/aura-nw/aura/app/upgrades/v0.4.5"

storetypes "github.com/cosmos/cosmos-sdk/store/types"
authvesting "github.com/cosmos/cosmos-sdk/x/auth/vesting"
Expand Down Expand Up @@ -1232,6 +1233,10 @@ func (app *App) setupUpgradeHandlers() {
v0_4_4.UpgradeName,
v0_4_4.CreateUpgradeHandler(app.mm, app.configurator),
)
app.UpgradeKeeper.SetUpgradeHandler(
v0_4_5.UpgradeName,
v0_4_5.CreateUpgradeHandler(app.mm, app.configurator),
)

// v0.5.0 upgrade handler add new module
app.UpgradeKeeper.SetUpgradeHandler(
Expand Down
23 changes: 23 additions & 0 deletions app/upgrades/v0.4.5/upgrades.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package v044

import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

// next upgrade name
const UpgradeName = "v0.4.5"

func CreateUpgradeHandler(
mm *module.Manager,
configurator module.Configurator,
) upgradetypes.UpgradeHandler {
return func(ctx sdk.Context, _ upgradetypes.Plan, vm module.VersionMap) (module.VersionMap, error) {
// Refs:
// - https://docs.cosmos.network/master/building-modules/upgrade.html#registering-migrations
// - https://docs.cosmos.network/master/migrations/chain-upgrade-guide-044.html#chain-upgrade

return mm.RunMigrations(ctx, configurator, vm)
}
}
2 changes: 1 addition & 1 deletion app/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

const (
AuraExponent = 6
BaseCoinUnit = "uaura"
BaseCoinUnit = "ueaura"
)

var (
Expand Down
3 changes: 2 additions & 1 deletion cmd/aurad/main.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package main

import (
"github.com/cosmos/cosmos-sdk/server"
"os"

"github.com/cosmos/cosmos-sdk/server"

"github.com/aura-nw/aura/app"
"github.com/aura-nw/aura/cmd/aurad/cmd"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"
Expand Down

0 comments on commit b9ee2f7

Please sign in to comment.