aura-nw / aura Goto Github PK
View Code? Open in Web Editor NEWAura Network Daemon
Home Page: https://aura.network
License: Apache License 2.0
Aura Network Daemon
Home Page: https://aura.network
License: Apache License 2.0
Claims and Mint module serves a chain tokenomics. These two modules are present in almost all serious chains.
By this point, I still don't understand why Aura decides to write custom module in custom folder. There is a specific reason why it is placed in x folder in the first place.
Protobuf defines the datastructure of every cosmos module. When generating go files for protobuf, .pb.go files will be generated into x/module/types. By writing custom module to custom folder, it will complicate things such as making aura source incompatible with ignite cli. How so?
I woke up this morning with my validator being down. After I inspected, only peer gossip was being shown in the log. I restarted the service and got this:
Aug 24 03:52:26 horace systemd[1]: Starting Aura Validator...
Aug 24 03:52:26 horace systemd[1]: Started Aura Validator.
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF starting node with ABCI Tendermint in-process
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting multiAppConn service impl=multiAppConn module=proxy
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting localClient service connection=query impl=localClient module=abci-client
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting localClient service connection=snapshot impl=localClient module=abci-client
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting localClient service connection=mempool impl=localClient module=abci-client
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting localClient service connection=consensus impl=localClient module=abci-client
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting EventBus service impl=EventBus module=events
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting PubSub service impl=PubSub module=pubsub
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Starting IndexerService service impl=IndexerService module=txindex
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Found local state with non-zero height, skipping state sync
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF ABCI Handshake App Info hash="-/E�ج�9.��\x14�}ޜo \x01Z\x17|���\v'I\x0e8�\x0f" height=629134 module=consensus protocol-version=0 software-version=euphoria_4027003
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF ABCI Replay Blocks appHeight=629134 module=consensus stateHeight=629134 storeHeight=629135
Aug 24 03:52:26 horace aurad[26177]: 3:52AM INF Replay last block using real app module=consensus
Aug 24 03:52:26 horace aurad[26177]: panic: runtime error: invalid memory address or nil pointer dereference
Aug 24 03:52:26 horace aurad[26177]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17aedb3]
Aug 24 03:52:26 horace aurad[26177]: goroutine 1 [running]:
Aug 24 03:52:26 horace aurad[26177]: github.com/cosmos/cosmos-sdk/server.startInProcess(_, {{0x0, 0x0, 0x0}, {0x25da6d8, 0xc0004d0a80}, {0xc000365630, 0xa}, {0x25c4be0, 0xc0001a0510}, ...}, ...)
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/cosmos/[email protected]/server/start.go:283 +0x813
Aug 24 03:52:26 horace aurad[26177]: github.com/cosmos/cosmos-sdk/server.StartCmd.func2(0xc000ea4780?, {0x33bf668?, 0x0?, 0x0?})
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/cosmos/[email protected]/server/start.go:126 +0x169
Aug 24 03:52:26 horace aurad[26177]: github.com/spf13/cobra.(*Command).execute(0xc000ea4780, {0x33bf668, 0x0, 0x0})
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x67c
Aug 24 03:52:26 horace aurad[26177]: github.com/spf13/cobra.(*Command).ExecuteC(0xc000db2280)
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3bd
Aug 24 03:52:26 horace aurad[26177]: github.com/spf13/cobra.(*Command).Execute(...)
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
Aug 24 03:52:26 horace aurad[26177]: github.com/spf13/cobra.(*Command).ExecuteContext(...)
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/spf13/[email protected]/command.go:895
Aug 24 03:52:26 horace aurad[26177]: github.com/cosmos/cosmos-sdk/server/cmd.Execute(0xc000db2280?, {0xc00005a880, 0x1c})
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/go/pkg/mod/github.com/cosmos/[email protected]/server/cmd/execute.go:36 +0x1eb
Aug 24 03:52:26 horace aurad[26177]: main.main()
Aug 24 03:52:26 horace aurad[26177]: /validator-home-1/aura/aura/cmd/aurad/main.go:44 +0x126
Aug 24 03:52:26 horace systemd[1]: aura.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Aug 24 03:52:26 horace systemd[1]: aura.service: Failed with result 'exit-code'.
To resolve the issue I performed an unsafe-reset-all
and did a fresh state sync.
Any idea on what may have initially caused it? I run several nodes on one server. This was the only one to have an issue. I would expect to see more of the nodes down if it was a drive or some other type of possible hardware issue.
When viewing event smart_account_tx from this tx on serenity, I got that value
JSFzKFBBTklDPVN0cmluZyBtZXRob2Q6IHJlZmxlY3QuVmFsdWUuSW50ZXJmYWNlOiBjYW5ub3QgcmV0dXJuIHZhbHVlIG9idGFpbmVkIGZyb20gdW5leHBvcnRlZCBmaWVsZCBvciBtZXRob2QpLzI=
// decode base 64 return:
%!s(PANIC=String method: reflect.Value.Interface: cannot return value obtained from unexported field or method)/2
May be bug from this line:
https://github.com/aura-nw/aura/blob/200f913b9982c4b4d78885938453c326372f4c83/x/smartaccount/ante.go#L385C97-L385C97
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.