Open hskang9 opened 1 year ago
Shouldn't the versions have been 2.8.0 and then 2.8.1? Why 2.7.0?
just for checking differences, I thought middle number would be more visible.
It seems the error happened from Access block from Aurora engine that the sender(predecessor) is not the owner of aurora contract. However, the error occurred even after I changed the owner account for the Aurora engine contract.
@ctindogaru the upgrade remote callback shows that the sender is marked same as receiver_id, but it seems predecessor is marked different. This is weird as the transaction marks executor id as receiver id, but it does not act as the predecessor in the smart contract.
Shift owner of EVM to the new owner
EVM owner: AccountId("aurora.test.near")
Aurora DAO ID: aurora-dao.dao-factory.test.near
ExecutionFinalResult { total_gas_burnt: 77895841490899, transaction: ExecutionOutcome { block_hash: `65mWGYd8NwaTvBwbAH7CyQRDiD7if9ECGWTGRQAAPNE6`, logs: [], receipt_ids: [`7zTE9B3TDru1xoRRFAgh9kVjg4kEYVQfpkXjcPtbdsq5`], gas_burnt: 4550005712588, tokens_burnt: 455000571258800000000, executor_id: AccountId("bob.test.near"), status: SuccessReceiptId(7zTE9B3TDru1xoRRFAgh9kVjg4kEYVQfpkXjcPtbdsq5) }, receipts: [ExecutionOutcome { block_hash: `APUaHPbaAJ8hcLysYBxhvs3F2q3x1QTuavRncnsAzZeN`, logs: [], receipt_ids: [`HN12Gqz8LMfrd4KZUwuXjm24RehMhJmqriHdJsZxuYhD`], gas_burnt: 73122653215811, tokens_burnt: 7312265321581100000000, executor_id: AccountId("aurora-dao.dao-factory.test.near"), status: SuccessValue(`"G4bJiWEnJsktaLueP7ri5sh3VhJBr3L1YjtYvKuCwLSC"`) }, ExecutionOutcome { block_hash: `9n1TvysjRGWWKwU8jtxScZoyX9PstAYunorsuG57auoQ`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("bob.test.near"), status: SuccessValue(``) }], status: SuccessValue(`"G4bJiWEnJsktaLueP7ri5sh3VhJBr3L1YjtYvKuCwLSC"`) }
Add staging upgrade Proposal
ExecutionFinalResult { total_gas_burnt: 5987154833971, transaction: ExecutionOutcome { block_hash: `6mqM3aqR1MER6LYKdkhSppsagMtTszC5y3SGbLX5ch7B`, logs: [], receipt_ids: [`6r6oPBarLmhtzf9dPsZgerYm91xA2EaJm7dJZef5rsuM`], gas_burnt: 2428428557018, tokens_burnt: 242842855701800000000, executor_id: AccountId("bob.test.near"), status: SuccessReceiptId(6r6oPBarLmhtzf9dPsZgerYm91xA2EaJm7dJZef5rsuM) }, receipts: [ExecutionOutcome { block_hash: `BHhmFi86uBNZQHmc9pumQuRN9nvDvT34nWHLoDBiPzTq`, logs: [], receipt_ids: [`4WaNfmk4JB997q3mhM1CpDzSKgVjUk85ha7g4yvhWRUP`], gas_burnt: 3335543714453, tokens_burnt: 333554371445300000000, executor_id: AccountId("aurora-dao.dao-factory.test.near"), status: SuccessValue(`0`) }, ExecutionOutcome { block_hash: `BhGjhQzscmTte5vBZnuFfZooBc7aiGk18geMXvJmXta4`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("bob.test.near"), status: SuccessValue(``) }], status: SuccessValue(`0`) }
Approve Proposal
ExecutionFinalResult { total_gas_burnt: 6198554320807, transaction: ExecutionOutcome { block_hash: `BAuUBCwjwR1kTsV6oQWGW5CKqQuFu7rKjfz5JfZjWgBJ`, logs: [], receipt_ids: [`CkLFD6YognUnEhDHSETWBuVMMjqUDwJBSUy2GAHMbFoS`], gas_burnt: 2428039504502, tokens_burnt: 242803950450200000000, executor_id: AccountId("bob.test.near"), status: SuccessReceiptId(CkLFD6YognUnEhDHSETWBuVMMjqUDwJBSUy2GAHMbFoS) }, receipts: [ExecutionOutcome { block_hash: `G8yLTqQjy8YnxPYDmC1fuTWtCtDSaLGUUjCFT3eoBbKx`, logs: ["Memo: "], receipt_ids: [`GuSKodzHUYAiYqouQmkMJnRrCt6KKQimDyqnpu4Nf4ot`], gas_burnt: 3547332253805, tokens_burnt: 354733225380500000000, executor_id: AccountId("aurora-dao.dao-factory.test.near"), status: SuccessValue(``) }, ExecutionOutcome { block_hash: `Hwwk3FdJrxeDSvMwJy5RprzbvWTFiC73xLBr9PoiJMur`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("bob.test.near"), status: SuccessValue(``) }], status: SuccessValue(``) }
ExecutionFinalResult { total_gas_burnt: 33967791415676, transaction: ExecutionOutcome { block_hash: `5dQ6mR9HS9c8Yc98s6zmwX3xV1vFBK72RgdaKPWxqxv9`, logs: [], receipt_ids: [`vuu5rGazmSvcCYQ6Jqq7bqn9VDXEuZxUkDELPgTh1Vj`], gas_burnt: 2428039504502, tokens_burnt: 242803950450200000000, executor_id: AccountId("alice.test.near"), status: SuccessReceiptId(vuu5rGazmSvcCYQ6Jqq7bqn9VDXEuZxUkDELPgTh1Vj) }, receipts: [ExecutionOutcome { block_hash: `2ABMquJruwdRUpnTTm9iMPBDf6Zerh2UWLCEeW2cMzYf`, logs: ["Memo: "], receipt_ids: [`8D35mucBrNtJgRSATL1mqaa74JWsvBmdUCc3FFtYQVoG`, `GJ2UwQPXJKouG52XgpnCvzqysnwiemt1cez9sxd4psyy`, `2e3dBNiSV4nmdVPShD1J29719fSQC5j4yjro7E4vfDP9`], gas_burnt: 25651737652090, tokens_burnt: 2565173765209000000000, executor_id: AccountId("aurora-dao.dao-factory.test.near"), status: SuccessValue(``) }, **ExecutionOutcome { block_hash: `CtATF3v4XnBPynehdvNVsWLDtEA9kzMBcRbnebpK4nYZ`, logs: [], receipt_ids: [`E6iSABGLBEC3anE4Hqns9xD5BFahxiCwhpzNGo4uYg1H`], gas_burnt: 4995284009084, tokens_burnt: 499528400908400000000, executor_id: AccountId("aurora.test.near"), status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: ERR_NOT_ALLOWED")) })) }**, ExecutionOutcome { block_hash: `43HUnava68u6uo1Paia4XkVXhPvfWXpLdCtu5mW8s4Gn`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("alice.test.near"), status: SuccessValue(``) }, ExecutionOutcome { block_hash: `CtATF3v4XnBPynehdvNVsWLDtEA9kzMBcRbnebpK4nYZ`, logs: [], receipt_ids: [`DW31JFCNUaLeBCCHp1E13yvQauPJWoPct4dyR3BiEsBL`], gas_burnt: 223182562500, tokens_burnt: 22318256250000000000, executor_id: AccountId("bob.test.near"), status: SuccessValue(``) }, ExecutionOutcome { block_hash: `43HUnava68u6uo1Paia4XkVXhPvfWXpLdCtu5mW8s4Gn`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("alice.test.near"), status: SuccessValue(``) }, ExecutionOutcome { block_hash: `CtATF3v4XnBPynehdvNVsWLDtEA9kzMBcRbnebpK4nYZ`, logs: [], receipt_ids: [], gas_burnt: 223182562500, tokens_burnt: 0, executor_id: AccountId("alice.test.near"), status: SuccessValue(``) }], status: SuccessValue(``) }
Aurora version after upgrade: 2.8.0
To replay this error, you can visit current aurora-dao-demo code and run cargo run
.
I assume that this is not an issue of the library given my help?
I was using
workspace-rs
to test upgrade on Aurora engine with Sputnik DAO council operation.https://github.com/hskang9/aurora-dao-demo
However, I don't see change after finalizing proposal. I thought it was because fast_forward issue, but it still did not show previous version after
UpgradeRemote
proposal finalization. Is there something that I have overlooked?logs